public class Interceptor extends java.lang.Object implements JndiConsumer, Session
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"/>
<element name="around-timeout" type="{http://java.sun.com/xml/ns/javaee}around-timeoutType" 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>
| Constructor and Description |
|---|
Interceptor() |
Interceptor(java.lang.Class<?> interceptorClass) |
Interceptor(java.lang.String interceptorClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAfterBegin(java.lang.String method) |
void |
addAfterCompletion(java.lang.String method) |
void |
addAroundInvoke(java.lang.String method) |
void |
addAroundTimeout(java.lang.String method) |
void |
addBeforeCompletion(java.lang.String method) |
void |
addPostActivate(java.lang.String method) |
void |
addPostConstruct(java.lang.String method) |
void |
addPreDestroy(java.lang.String method) |
void |
addPrePassivate(java.lang.String method) |
java.util.List<LifecycleCallback> |
getAfterBegin() |
java.util.List<LifecycleCallback> |
getAfterCompletion() |
java.util.List<AroundInvoke> |
getAroundInvoke() |
java.util.List<AroundTimeout> |
getAroundTimeout() |
java.util.List<LifecycleCallback> |
getBeforeCompletion() |
java.util.Collection<DataSource> |
getDataSource() |
java.util.Map<java.lang.String,DataSource> |
getDataSourceMap() |
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.util.Collection<EjbLocalRef> |
getEjbLocalRef() |
java.util.Map<java.lang.String,EjbLocalRef> |
getEjbLocalRefMap() |
java.util.Collection<EjbRef> |
getEjbRef() |
java.util.Map<java.lang.String,EjbRef> |
getEjbRefMap() |
java.util.Collection<EnvEntry> |
getEnvEntry() |
java.util.Map<java.lang.String,EnvEntry> |
getEnvEntryMap() |
java.lang.String |
getId() |
java.util.List<InitMethod> |
getInitMethod() |
java.lang.String |
getInterceptorClass() |
java.util.Collection<JMSConnectionFactory> |
getJMSConnectionFactories() |
java.util.Map<java.lang.String,JMSConnectionFactory> |
getJMSConnectionFactoriesMap() |
java.util.Collection<JMSDestination> |
getJMSDestination() |
java.util.Map<java.lang.String,JMSDestination> |
getJMSDestinationMap() |
java.lang.String |
getJndiConsumerName() |
java.util.Collection<MessageDestinationRef> |
getMessageDestinationRef() |
java.util.Map<java.lang.String,MessageDestinationRef> |
getMessageDestinationRefMap() |
java.util.Collection<PersistenceContextRef> |
getPersistenceContextRef() |
java.util.Map<java.lang.String,PersistenceContextRef> |
getPersistenceContextRefMap() |
java.util.Collection<PersistenceUnitRef> |
getPersistenceUnitRef() |
java.util.Map<java.lang.String,PersistenceUnitRef> |
getPersistenceUnitRefMap() |
java.util.List<LifecycleCallback> |
getPostActivate() |
java.util.List<LifecycleCallback> |
getPostConstruct() |
java.util.List<LifecycleCallback> |
getPreDestroy() |
java.util.List<LifecycleCallback> |
getPrePassivate() |
java.util.List<RemoveMethod> |
getRemoveMethod() |
java.util.Collection<ResourceEnvRef> |
getResourceEnvRef() |
java.util.Map<java.lang.String,ResourceEnvRef> |
getResourceEnvRefMap() |
java.util.Collection<ResourceRef> |
getResourceRef() |
java.util.Map<java.lang.String,ResourceRef> |
getResourceRefMap() |
java.util.Collection<ServiceRef> |
getServiceRef() |
java.util.Map<java.lang.String,ServiceRef> |
getServiceRefMap() |
void |
setDescriptions(Text[] text) |
void |
setId(java.lang.String value) |
void |
setInterceptorClass(java.lang.String value) |
protected TextMap description
protected java.lang.String interceptorClass
protected java.util.List<AroundInvoke> aroundInvoke
protected java.util.List<AroundTimeout> aroundTimeout
protected KeyedCollection<java.lang.String,EnvEntry> envEntry
protected KeyedCollection<java.lang.String,EjbRef> ejbRef
protected KeyedCollection<java.lang.String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<java.lang.String,ServiceRef> serviceRef
protected KeyedCollection<java.lang.String,ResourceRef> resourceRef
protected KeyedCollection<java.lang.String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<java.lang.String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<java.lang.String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<java.lang.String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<java.lang.String,DataSource> dataSource
protected KeyedCollection<java.lang.String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<java.lang.String,JMSDestination> jmsDestinations
protected java.util.List<LifecycleCallback> postConstruct
protected java.util.List<LifecycleCallback> preDestroy
protected java.util.List<LifecycleCallback> postActivate
protected java.util.List<LifecycleCallback> prePassivate
protected java.util.List<LifecycleCallback> afterBegin
protected java.util.List<LifecycleCallback> beforeCompletion
protected java.util.List<LifecycleCallback> afterCompletion
protected java.lang.String id
public Interceptor()
public Interceptor(java.lang.Class<?> interceptorClass)
public Interceptor(java.lang.String interceptorClass)
public java.lang.String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public java.lang.String getInterceptorClass()
public void setInterceptorClass(java.lang.String value)
public java.util.List<AroundInvoke> getAroundInvoke()
getAroundInvoke in interface Invokablepublic void addAroundInvoke(java.lang.String method)
addAroundInvoke in interface Invokablepublic java.util.List<AroundTimeout> getAroundTimeout()
getAroundTimeout in interface Invokablepublic java.util.Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic java.util.Map<java.lang.String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic java.util.Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic java.util.Map<java.lang.String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic java.util.Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic java.util.Map<java.lang.String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic java.util.Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic java.util.Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic java.util.Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic java.util.Map<java.lang.String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic java.util.Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic java.util.Map<java.lang.String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic java.util.Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic java.util.Map<java.lang.String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic java.util.Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic java.util.Map<java.lang.String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic java.util.Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic java.util.Map<java.lang.String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic java.util.List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic void addPostConstruct(java.lang.String method)
addPostConstruct in interface Lifecyclepublic java.util.List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPreDestroy(java.lang.String method)
addPreDestroy in interface Lifecyclepublic java.util.List<LifecycleCallback> getPostActivate()
getPostActivate in interface Sessionpublic void addPostActivate(java.lang.String method)
addPostActivate in interface Sessionpublic java.util.List<LifecycleCallback> getPrePassivate()
getPrePassivate in interface Sessionpublic void addPrePassivate(java.lang.String method)
addPrePassivate in interface Sessionpublic void addAfterBegin(java.lang.String method)
addAfterBegin in interface Sessionpublic void addAfterCompletion(java.lang.String method)
addAfterCompletion in interface Sessionpublic void addBeforeCompletion(java.lang.String method)
addBeforeCompletion in interface Sessionpublic java.util.List<LifecycleCallback> getAfterBegin()
getAfterBegin in interface Sessionpublic java.util.List<LifecycleCallback> getAfterCompletion()
getAfterCompletion in interface Sessionpublic java.util.List<LifecycleCallback> getBeforeCompletion()
getBeforeCompletion in interface Sessionpublic java.util.List<InitMethod> getInitMethod()
getInitMethod in interface Sessionpublic java.util.List<RemoveMethod> getRemoveMethod()
getRemoveMethod in interface Sessionpublic java.lang.String getId()
public void setId(java.lang.String value)
public void addAroundTimeout(java.lang.String method)
addAroundTimeout in interface Invokablepublic java.util.Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories in interface JndiConsumerpublic java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap in interface JndiConsumerpublic java.util.Collection<JMSDestination> getJMSDestination()
getJMSDestination in interface JndiConsumerpublic java.util.Map<java.lang.String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap in interface JndiConsumer