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"/> <element name="around-construct" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" 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<LifecycleCallback> |
getAroundConstruct() |
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> aroundConstruct
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 JndiConsumer
public 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 Invokable
public void addAroundInvoke(java.lang.String method)
addAroundInvoke
in interface Invokable
public java.util.List<AroundTimeout> getAroundTimeout()
getAroundTimeout
in interface Invokable
public java.util.Collection<EnvEntry> getEnvEntry()
getEnvEntry
in interface JndiConsumer
public java.util.Map<java.lang.String,EnvEntry> getEnvEntryMap()
getEnvEntryMap
in interface JndiConsumer
public java.util.Collection<EjbRef> getEjbRef()
getEjbRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbRef> getEjbRefMap()
getEjbRefMap
in interface JndiConsumer
public java.util.Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef
in interface JndiConsumer
public java.util.Map<java.lang.String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap
in interface JndiConsumer
public java.util.Collection<ServiceRef> getServiceRef()
getServiceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ServiceRef> getServiceRefMap()
getServiceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceRef> getResourceRef()
getResourceRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceRef> getResourceRefMap()
getResourceRefMap
in interface JndiConsumer
public java.util.Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef
in interface JndiConsumer
public java.util.Map<java.lang.String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap
in interface JndiConsumer
public java.util.Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef
in interface JndiConsumer
public java.util.Map<java.lang.String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap
in interface JndiConsumer
public java.util.Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef
in interface JndiConsumer
public java.util.Map<java.lang.String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap
in interface JndiConsumer
public java.util.Collection<DataSource> getDataSource()
getDataSource
in interface JndiConsumer
public java.util.Map<java.lang.String,DataSource> getDataSourceMap()
getDataSourceMap
in interface JndiConsumer
public java.util.List<LifecycleCallback> getAroundConstruct()
public java.util.List<LifecycleCallback> getPostConstruct()
getPostConstruct
in interface Lifecycle
public void addPostConstruct(java.lang.String method)
addPostConstruct
in interface Lifecycle
public java.util.List<LifecycleCallback> getPreDestroy()
getPreDestroy
in interface Lifecycle
public void addPreDestroy(java.lang.String method)
addPreDestroy
in interface Lifecycle
public java.util.List<LifecycleCallback> getPostActivate()
getPostActivate
in interface Session
public void addPostActivate(java.lang.String method)
addPostActivate
in interface Session
public java.util.List<LifecycleCallback> getPrePassivate()
getPrePassivate
in interface Session
public void addPrePassivate(java.lang.String method)
addPrePassivate
in interface Session
public void addAfterBegin(java.lang.String method)
addAfterBegin
in interface Session
public void addAfterCompletion(java.lang.String method)
addAfterCompletion
in interface Session
public void addBeforeCompletion(java.lang.String method)
addBeforeCompletion
in interface Session
public java.util.List<LifecycleCallback> getAfterBegin()
getAfterBegin
in interface Session
public java.util.List<LifecycleCallback> getAfterCompletion()
getAfterCompletion
in interface Session
public java.util.List<LifecycleCallback> getBeforeCompletion()
getBeforeCompletion
in interface Session
public java.util.List<InitMethod> getInitMethod()
getInitMethod
in interface Session
public java.util.List<RemoveMethod> getRemoveMethod()
getRemoveMethod
in interface Session
public java.lang.String getId()
public void setId(java.lang.String value)
public void addAroundTimeout(java.lang.String method)
addAroundTimeout
in interface Invokable
public java.util.Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories
in interface JndiConsumer
public java.util.Map<java.lang.String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap
in interface JndiConsumer
public java.util.Collection<JMSDestination> getJMSDestination()
getJMSDestination
in interface JndiConsumer
public java.util.Map<java.lang.String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap
in interface JndiConsumer