|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterceptorType<T>
This interface defines the contract for the interceptorType
xsd type
Original Documentation:
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 of around timeout 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.
Method Summary | |
---|---|
AroundInvokeType<InterceptorType<T>> |
aroundInvoke()
Returns the around-invoke element |
AroundTimeoutType<InterceptorType<T>> |
aroundTimeout()
Returns the around-timeout element |
DataSourceType<InterceptorType<T>> |
dataSource()
Returns the data-source element |
EjbLocalRefType<InterceptorType<T>> |
ejbLocalRef()
Returns the ejb-local-ref element |
EjbRefType<InterceptorType<T>> |
ejbRef()
Returns the ejb-ref element |
EnvEntryType<InterceptorType<T>> |
envEntry()
Returns the env-entry element |
java.util.List<AroundInvokeType<InterceptorType<T>>> |
getAroundInvokeList()
Returns all around-invoke elements |
java.util.List<AroundTimeoutType<InterceptorType<T>>> |
getAroundTimeoutList()
Returns all around-timeout elements |
java.util.List<DataSourceType<InterceptorType<T>>> |
getDataSourceList()
Returns all data-source elements |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<EjbLocalRefType<InterceptorType<T>>> |
getEjbLocalRefList()
Returns all ejb-local-ref elements |
java.util.List<EjbRefType<InterceptorType<T>>> |
getEjbRefList()
Returns all ejb-ref elements |
java.util.List<EnvEntryType<InterceptorType<T>>> |
getEnvEntryList()
Returns all env-entry elements |
java.lang.String |
getInterceptorClass()
Returns the interceptor-class element |
java.util.List<MessageDestinationRefType<InterceptorType<T>>> |
getMessageDestinationRefList()
Returns all message-destination-ref elements |
java.util.List<PersistenceContextRefType<InterceptorType<T>>> |
getPersistenceContextRefList()
Returns all persistence-context-ref elements |
java.util.List<PersistenceUnitRefType<InterceptorType<T>>> |
getPersistenceUnitRefList()
Returns all persistence-unit-ref elements |
java.util.List<LifecycleCallbackType<InterceptorType<T>>> |
getPostActivateList()
Returns all post-activate elements |
java.util.List<LifecycleCallbackType<InterceptorType<T>>> |
getPostConstructList()
Returns all post-construct elements |
java.util.List<LifecycleCallbackType<InterceptorType<T>>> |
getPreDestroyList()
Returns all pre-destroy elements |
java.util.List<LifecycleCallbackType<InterceptorType<T>>> |
getPrePassivateList()
Returns all pre-passivate elements |
java.util.List<ResourceEnvRefType<InterceptorType<T>>> |
getResourceEnvRefList()
Returns all resource-env-ref elements |
java.util.List<ResourceRefType<InterceptorType<T>>> |
getResourceRefList()
Returns all resource-ref elements |
MessageDestinationRefType<InterceptorType<T>> |
messageDestinationRef()
Returns the message-destination-ref element |
PersistenceContextRefType<InterceptorType<T>> |
persistenceContextRef()
Returns the persistence-context-ref element |
PersistenceUnitRefType<InterceptorType<T>> |
persistenceUnitRef()
Returns the persistence-unit-ref element |
LifecycleCallbackType<InterceptorType<T>> |
postActivate()
Returns the post-activate element |
LifecycleCallbackType<InterceptorType<T>> |
postConstruct()
Returns the post-construct element |
LifecycleCallbackType<InterceptorType<T>> |
preDestroy()
Returns the pre-destroy element |
LifecycleCallbackType<InterceptorType<T>> |
prePassivate()
Returns the pre-passivate element |
InterceptorType<T> |
removeAllAroundInvoke()
Removes all around-invoke elements |
InterceptorType<T> |
removeAllAroundTimeout()
Removes all around-timeout elements |
InterceptorType<T> |
removeAllDataSource()
Removes all data-source elements |
InterceptorType<T> |
removeAllDescription()
Removes the description element |
InterceptorType<T> |
removeAllEjbLocalRef()
Removes all ejb-local-ref elements |
InterceptorType<T> |
removeAllEjbRef()
Removes all ejb-ref elements |
InterceptorType<T> |
removeAllEnvEntry()
Removes all env-entry elements |
InterceptorType<T> |
removeAllMessageDestinationRef()
Removes all message-destination-ref elements |
InterceptorType<T> |
removeAllPersistenceContextRef()
Removes all persistence-context-ref elements |
InterceptorType<T> |
removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements |
InterceptorType<T> |
removeAllPostActivate()
Removes all post-activate elements |
InterceptorType<T> |
removeAllPostConstruct()
Removes all post-construct elements |
InterceptorType<T> |
removeAllPreDestroy()
Removes all pre-destroy elements |
InterceptorType<T> |
removeAllPrePassivate()
Removes all pre-passivate elements |
InterceptorType<T> |
removeAllResourceEnvRef()
Removes all resource-env-ref elements |
InterceptorType<T> |
removeAllResourceRef()
Removes all resource-ref elements |
InterceptorType<T> |
removeInterceptorClass()
Removes the interceptor-class element |
ResourceEnvRefType<InterceptorType<T>> |
resourceEnvRef()
Returns the resource-env-ref element |
ResourceRefType<InterceptorType<T>> |
resourceRef()
Returns the resource-ref element |
InterceptorType<T> |
setDescription(java.lang.String description)
Creates a new description element |
InterceptorType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
InterceptorType<T> |
setInterceptorClass(java.lang.String interceptorClass)
If not already created, a new interceptor-class element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
InterceptorType<T> removeAllEnvEntry()
env-entry
elements
InterceptorType
EnvEntryType<InterceptorType<T>> envEntry()
env-entry
element
env-entry
java.util.List<EnvEntryType<InterceptorType<T>>> getEnvEntryList()
env-entry
elements
env-entry
InterceptorType<T> removeAllEjbRef()
ejb-ref
elements
InterceptorType
EjbRefType<InterceptorType<T>> ejbRef()
ejb-ref
element
ejb-ref
java.util.List<EjbRefType<InterceptorType<T>>> getEjbRefList()
ejb-ref
elements
ejb-ref
InterceptorType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
InterceptorType
EjbLocalRefType<InterceptorType<T>> ejbLocalRef()
ejb-local-ref
element
ejb-local-ref
java.util.List<EjbLocalRefType<InterceptorType<T>>> getEjbLocalRefList()
ejb-local-ref
elements
ejb-local-ref
InterceptorType<T> removeAllResourceRef()
resource-ref
elements
InterceptorType
ResourceRefType<InterceptorType<T>> resourceRef()
resource-ref
element
resource-ref
java.util.List<ResourceRefType<InterceptorType<T>>> getResourceRefList()
resource-ref
elements
resource-ref
InterceptorType<T> removeAllResourceEnvRef()
resource-env-ref
elements
InterceptorType
ResourceEnvRefType<InterceptorType<T>> resourceEnvRef()
resource-env-ref
element
resource-env-ref
java.util.List<ResourceEnvRefType<InterceptorType<T>>> getResourceEnvRefList()
resource-env-ref
elements
resource-env-ref
InterceptorType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
InterceptorType
MessageDestinationRefType<InterceptorType<T>> messageDestinationRef()
message-destination-ref
element
message-destination-ref
java.util.List<MessageDestinationRefType<InterceptorType<T>>> getMessageDestinationRefList()
message-destination-ref
elements
message-destination-ref
InterceptorType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
InterceptorType
PersistenceContextRefType<InterceptorType<T>> persistenceContextRef()
persistence-context-ref
element
persistence-context-ref
java.util.List<PersistenceContextRefType<InterceptorType<T>>> getPersistenceContextRefList()
persistence-context-ref
elements
persistence-context-ref
InterceptorType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
InterceptorType
PersistenceUnitRefType<InterceptorType<T>> persistenceUnitRef()
persistence-unit-ref
element
persistence-unit-ref
java.util.List<PersistenceUnitRefType<InterceptorType<T>>> getPersistenceUnitRefList()
persistence-unit-ref
elements
persistence-unit-ref
InterceptorType<T> removeAllPostConstruct()
post-construct
elements
InterceptorType
LifecycleCallbackType<InterceptorType<T>> postConstruct()
post-construct
element
post-construct
java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostConstructList()
post-construct
elements
post-construct
InterceptorType<T> removeAllPreDestroy()
pre-destroy
elements
InterceptorType
LifecycleCallbackType<InterceptorType<T>> preDestroy()
pre-destroy
element
pre-destroy
java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPreDestroyList()
pre-destroy
elements
pre-destroy
InterceptorType<T> removeAllDataSource()
data-source
elements
InterceptorType
DataSourceType<InterceptorType<T>> dataSource()
data-source
element
data-source
java.util.List<DataSourceType<InterceptorType<T>>> getDataSourceList()
data-source
elements
data-source
InterceptorType<T> setDescription(java.lang.String description)
description
element
InterceptorType
InterceptorType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
InterceptorType
InterceptorType<T> removeAllDescription()
description
element
InterceptorType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
InterceptorType<T> setInterceptorClass(java.lang.String interceptorClass)
interceptor-class
element with the given value will be created.
Otherwise, the existing interceptor-class
element will be updated with the given value.
InterceptorType
InterceptorType<T> removeInterceptorClass()
interceptor-class
element
InterceptorType
java.lang.String getInterceptorClass()
interceptor-class
element
interceptor-class
InterceptorType<T> removeAllAroundInvoke()
around-invoke
elements
InterceptorType
AroundInvokeType<InterceptorType<T>> aroundInvoke()
around-invoke
element
around-invoke
java.util.List<AroundInvokeType<InterceptorType<T>>> getAroundInvokeList()
around-invoke
elements
around-invoke
InterceptorType<T> removeAllAroundTimeout()
around-timeout
elements
InterceptorType
AroundTimeoutType<InterceptorType<T>> aroundTimeout()
around-timeout
element
around-timeout
java.util.List<AroundTimeoutType<InterceptorType<T>>> getAroundTimeoutList()
around-timeout
elements
around-timeout
InterceptorType<T> removeAllPostActivate()
post-activate
elements
InterceptorType
LifecycleCallbackType<InterceptorType<T>> postActivate()
post-activate
element
post-activate
java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostActivateList()
post-activate
elements
post-activate
InterceptorType<T> removeAllPrePassivate()
pre-passivate
elements
InterceptorType
LifecycleCallbackType<InterceptorType<T>> prePassivate()
pre-passivate
element
pre-passivate
java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPrePassivateList()
pre-passivate
elements
pre-passivate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |