net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.javaee
Interface InterceptorType

All Known Implementing Classes:
InterceptorTypeImpl

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

getDescription

List<DescriptionType> getDescription()
Gets the value of the description property.

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


getInterceptorClass

FullyQualifiedClassType getInterceptorClass()
Gets the value of the interceptorClass property.

Returns:
possible object is FullyQualifiedClassType

setInterceptorClass

void setInterceptorClass(FullyQualifiedClassType value)
Sets the value of the interceptorClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getAroundInvoke

List<AroundInvokeType> getAroundInvoke()
Gets the value of the aroundInvoke property.

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


getEnvEntry

List<EnvEntryType> getEnvEntry()
Gets the value of the envEntry property.

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


getEjbRef

List<EjbRefType> getEjbRef()
Gets the value of the ejbRef property.

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


getEjbLocalRef

List<EjbLocalRefType> getEjbLocalRef()
Gets the value of the ejbLocalRef property.

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


getServiceRef

List<ServiceRefType> getServiceRef()
Gets the value of the serviceRef property.

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


getResourceRef

List<ResourceRefType> getResourceRef()
Gets the value of the resourceRef property.

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


getResourceEnvRef

List<ResourceEnvRefType> getResourceEnvRef()
Gets the value of the resourceEnvRef property.

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


getMessageDestinationRef

List<MessageDestinationRefType> getMessageDestinationRef()
Gets the value of the messageDestinationRef property.

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


getPersistenceContextRef

List<PersistenceContextRefType> getPersistenceContextRef()
Gets the value of the persistenceContextRef property.

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


getPersistenceUnitRef

List<PersistenceUnitRefType> getPersistenceUnitRef()
Gets the value of the persistenceUnitRef property.

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


getPostConstruct

List<LifecycleCallbackType> getPostConstruct()
Gets the value of the postConstruct property.

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


getPreDestroy

List<LifecycleCallbackType> getPreDestroy()
Gets the value of the preDestroy property.

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


getPostActivate

List<LifecycleCallbackType> getPostActivate()
Gets the value of the postActivate property.

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


getPrePassivate

List<LifecycleCallbackType> getPrePassivate()
Gets the value of the prePassivate property.

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


getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.