|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
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
Method Summary | |
---|---|
AroundInvokeType<InterceptorType<T>> |
createAroundInvoke()
Creates a new around-invoke element |
EjbLocalRefType<InterceptorType<T>> |
createEjbLocalRef()
Creates a new ejb-local-ref element |
EjbRefType<InterceptorType<T>> |
createEjbRef()
Creates a new ejb-ref element |
EnvEntryType<InterceptorType<T>> |
createEnvEntry()
Creates a new env-entry element |
MessageDestinationRefType<InterceptorType<T>> |
createMessageDestinationRef()
Creates a new message-destination-ref element |
PersistenceContextRefType<InterceptorType<T>> |
createPersistenceContextRef()
Creates a new persistence-context-ref element |
PersistenceUnitRefType<InterceptorType<T>> |
createPersistenceUnitRef()
Creates a new persistence-unit-ref element |
LifecycleCallbackType<InterceptorType<T>> |
createPostActivate()
Creates a new post-activate element |
LifecycleCallbackType<InterceptorType<T>> |
createPostConstruct()
Creates a new post-construct element |
LifecycleCallbackType<InterceptorType<T>> |
createPreDestroy()
Creates a new pre-destroy element |
LifecycleCallbackType<InterceptorType<T>> |
createPrePassivate()
Creates a new pre-passivate element |
ResourceEnvRefType<InterceptorType<T>> |
createResourceEnvRef()
Creates a new resource-env-ref element |
ResourceRefType<InterceptorType<T>> |
createResourceRef()
Creates a new resource-ref element |
ServiceRefType<InterceptorType<T>> |
createServiceRef()
Creates a new service-ref element |
InterceptorType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
List<AroundInvokeType<InterceptorType<T>>> |
getAllAroundInvoke()
Returns all around-invoke elements |
List<String> |
getAllDescription()
Returns all description elements |
List<EjbLocalRefType<InterceptorType<T>>> |
getAllEjbLocalRef()
Returns all ejb-local-ref elements |
List<EjbRefType<InterceptorType<T>>> |
getAllEjbRef()
Returns all ejb-ref elements |
List<EnvEntryType<InterceptorType<T>>> |
getAllEnvEntry()
Returns all env-entry elements |
List<MessageDestinationRefType<InterceptorType<T>>> |
getAllMessageDestinationRef()
Returns all message-destination-ref elements |
List<PersistenceContextRefType<InterceptorType<T>>> |
getAllPersistenceContextRef()
Returns all persistence-context-ref elements |
List<PersistenceUnitRefType<InterceptorType<T>>> |
getAllPersistenceUnitRef()
Returns all persistence-unit-ref elements |
List<LifecycleCallbackType<InterceptorType<T>>> |
getAllPostActivate()
Returns all post-activate elements |
List<LifecycleCallbackType<InterceptorType<T>>> |
getAllPostConstruct()
Returns all post-construct elements |
List<LifecycleCallbackType<InterceptorType<T>>> |
getAllPreDestroy()
Returns all pre-destroy elements |
List<LifecycleCallbackType<InterceptorType<T>>> |
getAllPrePassivate()
Returns all pre-passivate elements |
List<ResourceEnvRefType<InterceptorType<T>>> |
getAllResourceEnvRef()
Returns all resource-env-ref elements |
List<ResourceRefType<InterceptorType<T>>> |
getAllResourceRef()
Returns all resource-ref elements |
List<ServiceRefType<InterceptorType<T>>> |
getAllServiceRef()
Returns all service-ref elements |
String |
getInterceptorClass()
Returns the interceptor-class element |
AroundInvokeType<InterceptorType<T>> |
getOrCreateAroundInvoke()
If not already created, a new around-invoke element will be created and returned. |
EjbLocalRefType<InterceptorType<T>> |
getOrCreateEjbLocalRef()
If not already created, a new ejb-local-ref element will be created and returned. |
EjbRefType<InterceptorType<T>> |
getOrCreateEjbRef()
If not already created, a new ejb-ref element will be created and returned. |
EnvEntryType<InterceptorType<T>> |
getOrCreateEnvEntry()
If not already created, a new env-entry element will be created and returned. |
MessageDestinationRefType<InterceptorType<T>> |
getOrCreateMessageDestinationRef()
If not already created, a new message-destination-ref element will be created and returned. |
PersistenceContextRefType<InterceptorType<T>> |
getOrCreatePersistenceContextRef()
If not already created, a new persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<InterceptorType<T>> |
getOrCreatePersistenceUnitRef()
If not already created, a new persistence-unit-ref element will be created and returned. |
LifecycleCallbackType<InterceptorType<T>> |
getOrCreatePostActivate()
If not already created, a new post-activate element will be created and returned. |
LifecycleCallbackType<InterceptorType<T>> |
getOrCreatePostConstruct()
If not already created, a new post-construct element will be created and returned. |
LifecycleCallbackType<InterceptorType<T>> |
getOrCreatePreDestroy()
If not already created, a new pre-destroy element will be created and returned. |
LifecycleCallbackType<InterceptorType<T>> |
getOrCreatePrePassivate()
If not already created, a new pre-passivate element will be created and returned. |
ResourceEnvRefType<InterceptorType<T>> |
getOrCreateResourceEnvRef()
If not already created, a new resource-env-ref element will be created and returned. |
ResourceRefType<InterceptorType<T>> |
getOrCreateResourceRef()
If not already created, a new resource-ref element will be created and returned. |
ServiceRefType<InterceptorType<T>> |
getOrCreateServiceRef()
If not already created, a new service-ref element will be created and returned. |
InterceptorType<T> |
interceptorClass(String interceptorClass)
Sets the interceptor-class 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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EnvEntryType<InterceptorType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.
env-entry
EnvEntryType<InterceptorType<T>> createEnvEntry()
env-entry
element
EnvEntryType>
List<EnvEntryType<InterceptorType<T>>> getAllEnvEntry()
env-entry
elements
env-entry
InterceptorType<T> removeAllEnvEntry()
env-entry
elements
EnvEntryType>
EjbRefType<InterceptorType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.
ejb-ref
EjbRefType<InterceptorType<T>> createEjbRef()
ejb-ref
element
EjbRefType>
List<EjbRefType<InterceptorType<T>>> getAllEjbRef()
ejb-ref
elements
ejb-ref
InterceptorType<T> removeAllEjbRef()
ejb-ref
elements
EjbRefType>
EjbLocalRefType<InterceptorType<T>> getOrCreateEjbLocalRef()
ejb-local-ref
element will be created and returned.
Otherwise, the first existing ejb-local-ref
element will be returned.
ejb-local-ref
EjbLocalRefType<InterceptorType<T>> createEjbLocalRef()
ejb-local-ref
element
EjbLocalRefType>
List<EjbLocalRefType<InterceptorType<T>>> getAllEjbLocalRef()
ejb-local-ref
elements
ejb-local-ref
InterceptorType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
EjbLocalRefType>
ResourceRefType<InterceptorType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.
resource-ref
ResourceRefType<InterceptorType<T>> createResourceRef()
resource-ref
element
ResourceRefType>
List<ResourceRefType<InterceptorType<T>>> getAllResourceRef()
resource-ref
elements
resource-ref
InterceptorType<T> removeAllResourceRef()
resource-ref
elements
ResourceRefType>
ResourceEnvRefType<InterceptorType<T>> getOrCreateResourceEnvRef()
resource-env-ref
element will be created and returned.
Otherwise, the first existing resource-env-ref
element will be returned.
resource-env-ref
ResourceEnvRefType<InterceptorType<T>> createResourceEnvRef()
resource-env-ref
element
ResourceEnvRefType>
List<ResourceEnvRefType<InterceptorType<T>>> getAllResourceEnvRef()
resource-env-ref
elements
resource-env-ref
InterceptorType<T> removeAllResourceEnvRef()
resource-env-ref
elements
ResourceEnvRefType>
MessageDestinationRefType<InterceptorType<T>> getOrCreateMessageDestinationRef()
message-destination-ref
element will be created and returned.
Otherwise, the first existing message-destination-ref
element will be returned.
message-destination-ref
MessageDestinationRefType<InterceptorType<T>> createMessageDestinationRef()
message-destination-ref
element
MessageDestinationRefType>
List<MessageDestinationRefType<InterceptorType<T>>> getAllMessageDestinationRef()
message-destination-ref
elements
message-destination-ref
InterceptorType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
MessageDestinationRefType>
PersistenceContextRefType<InterceptorType<T>> getOrCreatePersistenceContextRef()
persistence-context-ref
element will be created and returned.
Otherwise, the first existing persistence-context-ref
element will be returned.
persistence-context-ref
PersistenceContextRefType<InterceptorType<T>> createPersistenceContextRef()
persistence-context-ref
element
PersistenceContextRefType>
List<PersistenceContextRefType<InterceptorType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elements
persistence-context-ref
InterceptorType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
PersistenceContextRefType>
PersistenceUnitRefType<InterceptorType<T>> getOrCreatePersistenceUnitRef()
persistence-unit-ref
element will be created and returned.
Otherwise, the first existing persistence-unit-ref
element will be returned.
persistence-unit-ref
PersistenceUnitRefType<InterceptorType<T>> createPersistenceUnitRef()
persistence-unit-ref
element
PersistenceUnitRefType>
List<PersistenceUnitRefType<InterceptorType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elements
persistence-unit-ref
InterceptorType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
PersistenceUnitRefType>
LifecycleCallbackType<InterceptorType<T>> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.
post-construct
LifecycleCallbackType<InterceptorType<T>> createPostConstruct()
post-construct
element
LifecycleCallbackType>
List<LifecycleCallbackType<InterceptorType<T>>> getAllPostConstruct()
post-construct
elements
post-construct
InterceptorType<T> removeAllPostConstruct()
post-construct
elements
LifecycleCallbackType>
LifecycleCallbackType<InterceptorType<T>> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.
pre-destroy
LifecycleCallbackType<InterceptorType<T>> createPreDestroy()
pre-destroy
element
LifecycleCallbackType>
List<LifecycleCallbackType<InterceptorType<T>>> getAllPreDestroy()
pre-destroy
elements
pre-destroy
InterceptorType<T> removeAllPreDestroy()
pre-destroy
elements
LifecycleCallbackType>
ServiceRefType<InterceptorType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.
service-ref
ServiceRefType<InterceptorType<T>> createServiceRef()
service-ref
element
ServiceRefType>
List<ServiceRefType<InterceptorType<T>>> getAllServiceRef()
service-ref
elements
service-ref
InterceptorType<T> removeAllServiceRef()
service-ref
elements
ServiceRefType>
InterceptorType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
InterceptorType
List<String> getAllDescription()
description
elements
description
InterceptorType<T> removeAllDescription()
description
element
InterceptorType
InterceptorType<T> interceptorClass(String interceptorClass)
interceptor-class
element
interceptorClass
- the value for the element interceptor-class
InterceptorType
String getInterceptorClass()
interceptor-class
element
interceptor-class
InterceptorType<T> removeInterceptorClass()
interceptor-class
element
InterceptorType
AroundInvokeType<InterceptorType<T>> getOrCreateAroundInvoke()
around-invoke
element will be created and returned.
Otherwise, the first existing around-invoke
element will be returned.
around-invoke
AroundInvokeType<InterceptorType<T>> createAroundInvoke()
around-invoke
element
AroundInvokeType>
List<AroundInvokeType<InterceptorType<T>>> getAllAroundInvoke()
around-invoke
elements
around-invoke
InterceptorType<T> removeAllAroundInvoke()
around-invoke
elements
AroundInvokeType>
LifecycleCallbackType<InterceptorType<T>> getOrCreatePostActivate()
post-activate
element will be created and returned.
Otherwise, the first existing post-activate
element will be returned.
post-activate
LifecycleCallbackType<InterceptorType<T>> createPostActivate()
post-activate
element
LifecycleCallbackType>
List<LifecycleCallbackType<InterceptorType<T>>> getAllPostActivate()
post-activate
elements
post-activate
InterceptorType<T> removeAllPostActivate()
post-activate
elements
LifecycleCallbackType>
LifecycleCallbackType<InterceptorType<T>> getOrCreatePrePassivate()
pre-passivate
element will be created and returned.
Otherwise, the first existing pre-passivate
element will be returned.
pre-passivate
LifecycleCallbackType<InterceptorType<T>> createPrePassivate()
pre-passivate
element
LifecycleCallbackType>
List<LifecycleCallbackType<InterceptorType<T>>> getAllPrePassivate()
pre-passivate
elements
pre-passivate
InterceptorType<T> removeAllPrePassivate()
pre-passivate
elements
LifecycleCallbackType>
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |