|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar30.InterceptorTypeImpl<T>
public class InterceptorTypeImpl<T>
This class implements 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.
Constructor Summary | |
---|---|
InterceptorTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
InterceptorTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptorTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public InterceptorTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public InterceptorType<T> removeAllEnvEntry()
env-entry
elements
removeAllEnvEntry
in interface InterceptorType<T>
InterceptorType
public EnvEntryType<InterceptorType<T>> envEntry()
env-entry
element
envEntry
in interface InterceptorType<T>
env-entry
public java.util.List<EnvEntryType<InterceptorType<T>>> getEnvEntryList()
env-entry
elements
getEnvEntryList
in interface InterceptorType<T>
env-entry
public InterceptorType<T> removeAllEjbRef()
ejb-ref
elements
removeAllEjbRef
in interface InterceptorType<T>
InterceptorType
public EjbRefType<InterceptorType<T>> ejbRef()
ejb-ref
element
ejbRef
in interface InterceptorType<T>
ejb-ref
public java.util.List<EjbRefType<InterceptorType<T>>> getEjbRefList()
ejb-ref
elements
getEjbRefList
in interface InterceptorType<T>
ejb-ref
public InterceptorType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
removeAllEjbLocalRef
in interface InterceptorType<T>
InterceptorType
public EjbLocalRefType<InterceptorType<T>> ejbLocalRef()
ejb-local-ref
element
ejbLocalRef
in interface InterceptorType<T>
ejb-local-ref
public java.util.List<EjbLocalRefType<InterceptorType<T>>> getEjbLocalRefList()
ejb-local-ref
elements
getEjbLocalRefList
in interface InterceptorType<T>
ejb-local-ref
public InterceptorType<T> removeAllResourceRef()
resource-ref
elements
removeAllResourceRef
in interface InterceptorType<T>
InterceptorType
public ResourceRefType<InterceptorType<T>> resourceRef()
resource-ref
element
resourceRef
in interface InterceptorType<T>
resource-ref
public java.util.List<ResourceRefType<InterceptorType<T>>> getResourceRefList()
resource-ref
elements
getResourceRefList
in interface InterceptorType<T>
resource-ref
public InterceptorType<T> removeAllResourceEnvRef()
resource-env-ref
elements
removeAllResourceEnvRef
in interface InterceptorType<T>
InterceptorType
public ResourceEnvRefType<InterceptorType<T>> resourceEnvRef()
resource-env-ref
element
resourceEnvRef
in interface InterceptorType<T>
resource-env-ref
public java.util.List<ResourceEnvRefType<InterceptorType<T>>> getResourceEnvRefList()
resource-env-ref
elements
getResourceEnvRefList
in interface InterceptorType<T>
resource-env-ref
public InterceptorType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
removeAllMessageDestinationRef
in interface InterceptorType<T>
InterceptorType
public MessageDestinationRefType<InterceptorType<T>> messageDestinationRef()
message-destination-ref
element
messageDestinationRef
in interface InterceptorType<T>
message-destination-ref
public java.util.List<MessageDestinationRefType<InterceptorType<T>>> getMessageDestinationRefList()
message-destination-ref
elements
getMessageDestinationRefList
in interface InterceptorType<T>
message-destination-ref
public InterceptorType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
removeAllPersistenceContextRef
in interface InterceptorType<T>
InterceptorType
public PersistenceContextRefType<InterceptorType<T>> persistenceContextRef()
persistence-context-ref
element
persistenceContextRef
in interface InterceptorType<T>
persistence-context-ref
public java.util.List<PersistenceContextRefType<InterceptorType<T>>> getPersistenceContextRefList()
persistence-context-ref
elements
getPersistenceContextRefList
in interface InterceptorType<T>
persistence-context-ref
public InterceptorType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
removeAllPersistenceUnitRef
in interface InterceptorType<T>
InterceptorType
public PersistenceUnitRefType<InterceptorType<T>> persistenceUnitRef()
persistence-unit-ref
element
persistenceUnitRef
in interface InterceptorType<T>
persistence-unit-ref
public java.util.List<PersistenceUnitRefType<InterceptorType<T>>> getPersistenceUnitRefList()
persistence-unit-ref
elements
getPersistenceUnitRefList
in interface InterceptorType<T>
persistence-unit-ref
public InterceptorType<T> removeAllPostConstruct()
post-construct
elements
removeAllPostConstruct
in interface InterceptorType<T>
InterceptorType
public LifecycleCallbackType<InterceptorType<T>> postConstruct()
post-construct
element
postConstruct
in interface InterceptorType<T>
post-construct
public java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostConstructList()
post-construct
elements
getPostConstructList
in interface InterceptorType<T>
post-construct
public InterceptorType<T> removeAllPreDestroy()
pre-destroy
elements
removeAllPreDestroy
in interface InterceptorType<T>
InterceptorType
public LifecycleCallbackType<InterceptorType<T>> preDestroy()
pre-destroy
element
preDestroy
in interface InterceptorType<T>
pre-destroy
public java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPreDestroyList()
pre-destroy
elements
getPreDestroyList
in interface InterceptorType<T>
pre-destroy
public InterceptorType<T> removeAllServiceRef()
service-ref
elements
removeAllServiceRef
in interface InterceptorType<T>
InterceptorType
public ServiceRefType<InterceptorType<T>> serviceRef()
service-ref
element
serviceRef
in interface InterceptorType<T>
service-ref
public java.util.List<ServiceRefType<InterceptorType<T>>> getServiceRefList()
service-ref
elements
getServiceRefList
in interface InterceptorType<T>
service-ref
public InterceptorType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface InterceptorType<T>
InterceptorType
public InterceptorType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface InterceptorType<T>
list
- of description
objects
InterceptorType
public InterceptorType<T> removeAllDescription()
description
element
removeAllDescription
in interface InterceptorType<T>
InterceptorType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface InterceptorType<T>
description
public 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.
setInterceptorClass
in interface InterceptorType<T>
InterceptorType
public InterceptorType<T> removeInterceptorClass()
interceptor-class
element
removeInterceptorClass
in interface InterceptorType<T>
InterceptorType
public java.lang.String getInterceptorClass()
interceptor-class
element
getInterceptorClass
in interface InterceptorType<T>
interceptor-class
public InterceptorType<T> removeAllAroundInvoke()
around-invoke
elements
removeAllAroundInvoke
in interface InterceptorType<T>
InterceptorType
public AroundInvokeType<InterceptorType<T>> aroundInvoke()
around-invoke
element
aroundInvoke
in interface InterceptorType<T>
around-invoke
public java.util.List<AroundInvokeType<InterceptorType<T>>> getAroundInvokeList()
around-invoke
elements
getAroundInvokeList
in interface InterceptorType<T>
around-invoke
public InterceptorType<T> removeAllPostActivate()
post-activate
elements
removeAllPostActivate
in interface InterceptorType<T>
InterceptorType
public LifecycleCallbackType<InterceptorType<T>> postActivate()
post-activate
element
postActivate
in interface InterceptorType<T>
post-activate
public java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPostActivateList()
post-activate
elements
getPostActivateList
in interface InterceptorType<T>
post-activate
public InterceptorType<T> removeAllPrePassivate()
pre-passivate
elements
removeAllPrePassivate
in interface InterceptorType<T>
InterceptorType
public LifecycleCallbackType<InterceptorType<T>> prePassivate()
pre-passivate
element
prePassivate
in interface InterceptorType<T>
pre-passivate
public java.util.List<LifecycleCallbackType<InterceptorType<T>>> getPrePassivateList()
pre-passivate
elements
getPrePassivateList
in interface InterceptorType<T>
pre-passivate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |