|
||||||||||
| 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 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 |
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<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 |
java.util.List<ServiceRefType<InterceptorType<T>>> |
getServiceRefList()
Returns all service-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> |
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> |
removeAllServiceRef()
Removes all service-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 |
ServiceRefType<InterceptorType<T>> |
serviceRef()
Returns the service-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
InterceptorTypeEnvEntryType<InterceptorType<T>> envEntry()
env-entry element
env-entryjava.util.List<EnvEntryType<InterceptorType<T>>> getEnvEntryList()
env-entry elements
env-entryInterceptorType<T> removeAllEjbRef()
ejb-ref elements
InterceptorTypeEjbRefType<InterceptorType<T>> ejbRef()
ejb-ref element
ejb-refjava.util.List<EjbRefType<InterceptorType<T>>> getEjbRefList()
ejb-ref elements
ejb-refInterceptorType<T> removeAllEjbLocalRef()
ejb-local-ref elements
InterceptorTypeEjbLocalRefType<InterceptorType<T>> ejbLocalRef()
ejb-local-ref element
ejb-local-refjava.util.List<EjbLocalRefType<InterceptorType<T>>> getEjbLocalRefList()
ejb-local-ref elements
ejb-local-refInterceptorType<T> removeAllResourceRef()
resource-ref elements
InterceptorTypeResourceRefType<InterceptorType<T>> resourceRef()
resource-ref element
resource-refjava.util.List<ResourceRefType<InterceptorType<T>>> getResourceRefList()
resource-ref elements
resource-refInterceptorType<T> removeAllResourceEnvRef()
resource-env-ref elements
InterceptorTypeResourceEnvRefType<InterceptorType<T>> resourceEnvRef()
resource-env-ref element
resource-env-refjava.util.List<ResourceEnvRefType<InterceptorType<T>>> getResourceEnvRefList()
resource-env-ref elements
resource-env-refInterceptorType<T> removeAllMessageDestinationRef()
message-destination-ref elements
InterceptorTypeMessageDestinationRefType<InterceptorType<T>> messageDestinationRef()
message-destination-ref element
message-destination-refjava.util.List<MessageDestinationRefType<InterceptorType<T>>> getMessageDestinationRefList()
message-destination-ref elements
message-destination-refInterceptorType<T> removeAllPersistenceContextRef()
persistence-context-ref elements
InterceptorTypePersistenceContextRefType<InterceptorType<T>> persistenceContextRef()
persistence-context-ref element
persistence-context-refjava.util.List<PersistenceContextRefType<InterceptorType<T>>> getPersistenceContextRefList()
persistence-context-ref elements
persistence-context-refInterceptorType<T> removeAllPersistenceUnitRef()
persistence-unit-ref elements
InterceptorTypePersistenceUnitRefType<InterceptorType<T>> persistenceUnitRef()
persistence-unit-ref element
persistence-unit-refjava.util.List<PersistenceUnitRefType<InterceptorType<T>>> getPersistenceUnitRefList()
persistence-unit-ref elements
persistence-unit-refInterceptorType<T> removeAllPostConstruct()
post-construct elements
InterceptorTypeLifecycleCallbackType<InterceptorType<T>> postConstruct()
post-construct element
post-constructjava.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostConstructList()
post-construct elements
post-constructInterceptorType<T> removeAllPreDestroy()
pre-destroy elements
InterceptorTypeLifecycleCallbackType<InterceptorType<T>> preDestroy()
pre-destroy element
pre-destroyjava.util.List<LifecycleCallbackType<InterceptorType<T>>> getPreDestroyList()
pre-destroy elements
pre-destroyInterceptorType<T> removeAllServiceRef()
service-ref elements
InterceptorTypeServiceRefType<InterceptorType<T>> serviceRef()
service-ref element
service-refjava.util.List<ServiceRefType<InterceptorType<T>>> getServiceRefList()
service-ref elements
service-refInterceptorType<T> setDescription(java.lang.String description)
description element
InterceptorTypeInterceptorType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
InterceptorTypeInterceptorType<T> removeAllDescription()
description element
InterceptorTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionInterceptorType<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.
InterceptorTypeInterceptorType<T> removeInterceptorClass()
interceptor-class element
InterceptorTypejava.lang.String getInterceptorClass()
interceptor-class element
interceptor-classInterceptorType<T> removeAllAroundInvoke()
around-invoke elements
InterceptorTypeAroundInvokeType<InterceptorType<T>> aroundInvoke()
around-invoke element
around-invokejava.util.List<AroundInvokeType<InterceptorType<T>>> getAroundInvokeList()
around-invoke elements
around-invokeInterceptorType<T> removeAllPostActivate()
post-activate elements
InterceptorTypeLifecycleCallbackType<InterceptorType<T>> postActivate()
post-activate element
post-activatejava.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostActivateList()
post-activate elements
post-activateInterceptorType<T> removeAllPrePassivate()
pre-passivate elements
InterceptorTypeLifecycleCallbackType<InterceptorType<T>> prePassivate()
pre-passivate element
pre-passivatejava.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 | |||||||||