|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InterceptorType
The interceptorType element declares information about a single interceptor class. It consists of : - An optional description. - The fully-qualified name of the interceptor class. - An optional list of around invoke methods declared on the interceptor class and/or its super-classes. - An optional list environment dependencies for the interceptor class and/or its super-classes. - An optional list of post-activate methods declared on the interceptor class and/or its super-classes. - An optional list of pre-passivate methods declared on the interceptor class and/or its super-classes.
Java class for interceptorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="interceptorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="interceptor-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
<element name="post-activate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="pre-passivate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
List<AroundInvokeType> |
getAroundInvoke()
Gets the value of the aroundInvoke property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<EjbLocalRefType> |
getEjbLocalRef()
Gets the value of the ejbLocalRef property. |
List<EjbRefType> |
getEjbRef()
Gets the value of the ejbRef property. |
List<EnvEntryType> |
getEnvEntry()
Gets the value of the envEntry property. |
String |
getId()
Gets the value of the id property. |
FullyQualifiedClassType |
getInterceptorClass()
Gets the value of the interceptorClass property. |
List<MessageDestinationRefType> |
getMessageDestinationRef()
Gets the value of the messageDestinationRef property. |
List<PersistenceContextRefType> |
getPersistenceContextRef()
Gets the value of the persistenceContextRef property. |
List<PersistenceUnitRefType> |
getPersistenceUnitRef()
Gets the value of the persistenceUnitRef property. |
List<LifecycleCallbackType> |
getPostActivate()
Gets the value of the postActivate property. |
List<LifecycleCallbackType> |
getPostConstruct()
Gets the value of the postConstruct property. |
List<LifecycleCallbackType> |
getPreDestroy()
Gets the value of the preDestroy property. |
List<LifecycleCallbackType> |
getPrePassivate()
Gets the value of the prePassivate property. |
List<ResourceEnvRefType> |
getResourceEnvRef()
Gets the value of the resourceEnvRef property. |
List<ResourceRefType> |
getResourceRef()
Gets the value of the resourceRef property. |
List<ServiceRefType> |
getServiceRef()
Gets the value of the serviceRef property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setInterceptorClass(FullyQualifiedClassType value)
Sets the value of the interceptorClass property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
FullyQualifiedClassType getInterceptorClass()
FullyQualifiedClassTypevoid setInterceptorClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeList<AroundInvokeType> getAroundInvoke()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the aroundInvoke property.
For example, to add a new item, do as follows:
getAroundInvoke().add(newItem);
Objects of the following type(s) are allowed in the list
AroundInvokeType
List<EnvEntryType> getEnvEntry()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the envEntry property.
For example, to add a new item, do as follows:
getEnvEntry().add(newItem);
Objects of the following type(s) are allowed in the list
EnvEntryType
List<EjbRefType> getEjbRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the ejbRef property.
For example, to add a new item, do as follows:
getEjbRef().add(newItem);
Objects of the following type(s) are allowed in the list
EjbRefType
List<EjbLocalRefType> getEjbLocalRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the ejbLocalRef property.
For example, to add a new item, do as follows:
getEjbLocalRef().add(newItem);
Objects of the following type(s) are allowed in the list
EjbLocalRefType
List<ServiceRefType> getServiceRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the serviceRef property.
For example, to add a new item, do as follows:
getServiceRef().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceRefType
List<ResourceRefType> getResourceRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the resourceRef property.
For example, to add a new item, do as follows:
getResourceRef().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceRefType
List<ResourceEnvRefType> getResourceEnvRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the resourceEnvRef property.
For example, to add a new item, do as follows:
getResourceEnvRef().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceEnvRefType
List<MessageDestinationRefType> getMessageDestinationRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the messageDestinationRef property.
For example, to add a new item, do as follows:
getMessageDestinationRef().add(newItem);
Objects of the following type(s) are allowed in the list
MessageDestinationRefType
List<PersistenceContextRefType> getPersistenceContextRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the persistenceContextRef property.
For example, to add a new item, do as follows:
getPersistenceContextRef().add(newItem);
Objects of the following type(s) are allowed in the list
PersistenceContextRefType
List<PersistenceUnitRefType> getPersistenceUnitRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the persistenceUnitRef property.
For example, to add a new item, do as follows:
getPersistenceUnitRef().add(newItem);
Objects of the following type(s) are allowed in the list
PersistenceUnitRefType
List<LifecycleCallbackType> getPostConstruct()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the postConstruct property.
For example, to add a new item, do as follows:
getPostConstruct().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
List<LifecycleCallbackType> getPreDestroy()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the preDestroy property.
For example, to add a new item, do as follows:
getPreDestroy().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
List<LifecycleCallbackType> getPostActivate()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the postActivate property.
For example, to add a new item, do as follows:
getPostActivate().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
List<LifecycleCallbackType> getPrePassivate()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the prePassivate property.
For example, to add a new item, do as follows:
getPrePassivate().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
String getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||