public class Interceptor extends 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(Class<?> interceptorClass) |
Interceptor(String interceptorClass) |
protected TextMap description
protected String interceptorClass
protected List<AroundInvoke> aroundInvoke
protected List<AroundTimeout> aroundTimeout
protected KeyedCollection<String,EnvEntry> envEntry
protected KeyedCollection<String,EjbRef> ejbRef
protected KeyedCollection<String,EjbLocalRef> ejbLocalRef
protected KeyedCollection<String,ServiceRef> serviceRef
protected KeyedCollection<String,ResourceRef> resourceRef
protected KeyedCollection<String,ResourceEnvRef> resourceEnvRef
protected KeyedCollection<String,MessageDestinationRef> messageDestinationRef
protected KeyedCollection<String,PersistenceContextRef> persistenceContextRef
protected KeyedCollection<String,PersistenceUnitRef> persistenceUnitRef
protected KeyedCollection<String,DataSource> dataSource
protected KeyedCollection<String,JMSConnectionFactory> jmsConnectionFactories
protected KeyedCollection<String,JMSDestination> jmsDestinations
protected List<LifecycleCallback> postConstruct
protected List<LifecycleCallback> preDestroy
protected List<LifecycleCallback> postActivate
protected List<LifecycleCallback> prePassivate
protected List<LifecycleCallback> afterBegin
protected List<LifecycleCallback> beforeCompletion
protected List<LifecycleCallback> afterCompletion
protected String id
public Interceptor()
public Interceptor(Class<?> interceptorClass)
public Interceptor(String interceptorClass)
public String getJndiConsumerName()
getJndiConsumerName in interface JndiConsumerpublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public String getInterceptorClass()
public void setInterceptorClass(String value)
public List<AroundInvoke> getAroundInvoke()
getAroundInvoke in interface Invokablepublic void addAroundInvoke(String method)
addAroundInvoke in interface Invokablepublic List<AroundTimeout> getAroundTimeout()
getAroundTimeout in interface Invokablepublic Collection<EnvEntry> getEnvEntry()
getEnvEntry in interface JndiConsumerpublic Map<String,EnvEntry> getEnvEntryMap()
getEnvEntryMap in interface JndiConsumerpublic Collection<EjbRef> getEjbRef()
getEjbRef in interface JndiConsumerpublic Map<String,EjbRef> getEjbRefMap()
getEjbRefMap in interface JndiConsumerpublic Collection<EjbLocalRef> getEjbLocalRef()
getEjbLocalRef in interface JndiConsumerpublic Map<String,EjbLocalRef> getEjbLocalRefMap()
getEjbLocalRefMap in interface JndiConsumerpublic Collection<ServiceRef> getServiceRef()
getServiceRef in interface JndiConsumerpublic Map<String,ServiceRef> getServiceRefMap()
getServiceRefMap in interface JndiConsumerpublic Collection<ResourceRef> getResourceRef()
getResourceRef in interface JndiConsumerpublic Map<String,ResourceRef> getResourceRefMap()
getResourceRefMap in interface JndiConsumerpublic Collection<ResourceEnvRef> getResourceEnvRef()
getResourceEnvRef in interface JndiConsumerpublic Map<String,ResourceEnvRef> getResourceEnvRefMap()
getResourceEnvRefMap in interface JndiConsumerpublic Collection<MessageDestinationRef> getMessageDestinationRef()
getMessageDestinationRef in interface JndiConsumerpublic Map<String,MessageDestinationRef> getMessageDestinationRefMap()
getMessageDestinationRefMap in interface JndiConsumerpublic Collection<PersistenceContextRef> getPersistenceContextRef()
getPersistenceContextRef in interface JndiConsumerpublic Map<String,PersistenceContextRef> getPersistenceContextRefMap()
getPersistenceContextRefMap in interface JndiConsumerpublic Collection<PersistenceUnitRef> getPersistenceUnitRef()
getPersistenceUnitRef in interface JndiConsumerpublic Map<String,PersistenceUnitRef> getPersistenceUnitRefMap()
getPersistenceUnitRefMap in interface JndiConsumerpublic Collection<DataSource> getDataSource()
getDataSource in interface JndiConsumerpublic Map<String,DataSource> getDataSourceMap()
getDataSourceMap in interface JndiConsumerpublic List<LifecycleCallback> getPostConstruct()
getPostConstruct in interface Lifecyclepublic void addPostConstruct(String method)
addPostConstruct in interface Lifecyclepublic List<LifecycleCallback> getPreDestroy()
getPreDestroy in interface Lifecyclepublic void addPreDestroy(String method)
addPreDestroy in interface Lifecyclepublic List<LifecycleCallback> getPostActivate()
getPostActivate in interface Sessionpublic void addPostActivate(String method)
addPostActivate in interface Sessionpublic List<LifecycleCallback> getPrePassivate()
getPrePassivate in interface Sessionpublic void addPrePassivate(String method)
addPrePassivate in interface Sessionpublic void addAfterBegin(String method)
addAfterBegin in interface Sessionpublic void addAfterCompletion(String method)
addAfterCompletion in interface Sessionpublic void addBeforeCompletion(String method)
addBeforeCompletion in interface Sessionpublic List<LifecycleCallback> getAfterBegin()
getAfterBegin in interface Sessionpublic List<LifecycleCallback> getAfterCompletion()
getAfterCompletion in interface Sessionpublic List<LifecycleCallback> getBeforeCompletion()
getBeforeCompletion in interface Sessionpublic List<InitMethod> getInitMethod()
getInitMethod in interface Sessionpublic List<RemoveMethod> getRemoveMethod()
getRemoveMethod in interface Sessionpublic String getId()
public void setId(String value)
public void addAroundTimeout(String method)
addAroundTimeout in interface Invokablepublic Collection<JMSConnectionFactory> getJMSConnectionFactories()
getJMSConnectionFactories in interface JndiConsumerpublic Map<String,JMSConnectionFactory> getJMSConnectionFactoriesMap()
getJMSConnectionFactoriesMap in interface JndiConsumerpublic Collection<JMSDestination> getJMSDestination()
getJMSDestination in interface JndiConsumerpublic Map<String,JMSDestination> getJMSDestinationMap()
getJMSDestinationMap in interface JndiConsumerCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.