
public interface InterceptorType<T> extends Child<T>, JavaeeInterceptorCommonType<T,InterceptorType<T>,AroundInvokeType<InterceptorType<T>>,LifecycleCallbackType<InterceptorType<T>>,LifecycleCallbackType<InterceptorType<T>>>
interceptorType xsd type| Modifier and Type | Method and Description |
|---|---|
AroundInvokeType<InterceptorType<T>> |
createAroundInvoke()
Creates a new
around-invoke element |
AroundTimeoutType<InterceptorType<T>> |
createAroundTimeout()
Creates a new
around-timeout element |
DataSourceType<InterceptorType<T>> |
createDataSource()
Creates a new
data-source 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<AroundTimeoutType<InterceptorType<T>>> |
getAllAroundTimeout()
Returns all
around-timeout elements |
List<DataSourceType<InterceptorType<T>>> |
getAllDataSource()
Returns all
data-source 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 |
getId()
Returns the
id attribute |
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. |
AroundTimeoutType<InterceptorType<T>> |
getOrCreateAroundTimeout()
If not already created, a new
around-timeout element will be created and returned. |
DataSourceType<InterceptorType<T>> |
getOrCreateDataSource()
If not already created, a new
data-source 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> |
id(String id)
Sets the
id attribute |
InterceptorType<T> |
interceptorClass(String interceptorClass)
Sets the
interceptor-class 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> |
removeAllServiceRef()
Removes all
service-ref elements |
InterceptorType<T> |
removeId()
Removes the
id attribute |
InterceptorType<T> |
removeInterceptorClass()
Removes the
interceptor-class element |
EnvEntryType<InterceptorType<T>> getOrCreateEnvEntry()
env-entry element will be created and returned.
Otherwise, the first existing env-entry element will be returned.env-entryEnvEntryType<InterceptorType<T>> createEnvEntry()
env-entry elementEnvEntryType> List<EnvEntryType<InterceptorType<T>>> getAllEnvEntry()
env-entry elementsenv-entryInterceptorType<T> removeAllEnvEntry()
env-entry elementsEnvEntryType> EjbRefType<InterceptorType<T>> getOrCreateEjbRef()
ejb-ref element will be created and returned.
Otherwise, the first existing ejb-ref element will be returned.ejb-refEjbRefType<InterceptorType<T>> createEjbRef()
ejb-ref elementEjbRefType> List<EjbRefType<InterceptorType<T>>> getAllEjbRef()
ejb-ref elementsejb-refInterceptorType<T> removeAllEjbRef()
ejb-ref elementsEjbRefType> 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-refEjbLocalRefType<InterceptorType<T>> createEjbLocalRef()
ejb-local-ref elementEjbLocalRefType> List<EjbLocalRefType<InterceptorType<T>>> getAllEjbLocalRef()
ejb-local-ref elementsejb-local-refInterceptorType<T> removeAllEjbLocalRef()
ejb-local-ref elementsEjbLocalRefType> ResourceRefType<InterceptorType<T>> getOrCreateResourceRef()
resource-ref element will be created and returned.
Otherwise, the first existing resource-ref element will be returned.resource-refResourceRefType<InterceptorType<T>> createResourceRef()
resource-ref elementResourceRefType> List<ResourceRefType<InterceptorType<T>>> getAllResourceRef()
resource-ref elementsresource-refInterceptorType<T> removeAllResourceRef()
resource-ref elementsResourceRefType> 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-refResourceEnvRefType<InterceptorType<T>> createResourceEnvRef()
resource-env-ref elementResourceEnvRefType> List<ResourceEnvRefType<InterceptorType<T>>> getAllResourceEnvRef()
resource-env-ref elementsresource-env-refInterceptorType<T> removeAllResourceEnvRef()
resource-env-ref elementsResourceEnvRefType> 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-refMessageDestinationRefType<InterceptorType<T>> createMessageDestinationRef()
message-destination-ref elementMessageDestinationRefType> List<MessageDestinationRefType<InterceptorType<T>>> getAllMessageDestinationRef()
message-destination-ref elementsmessage-destination-refInterceptorType<T> removeAllMessageDestinationRef()
message-destination-ref elementsMessageDestinationRefType> 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-refPersistenceContextRefType<InterceptorType<T>> createPersistenceContextRef()
persistence-context-ref elementPersistenceContextRefType> List<PersistenceContextRefType<InterceptorType<T>>> getAllPersistenceContextRef()
persistence-context-ref elementspersistence-context-refInterceptorType<T> removeAllPersistenceContextRef()
persistence-context-ref elementsPersistenceContextRefType> 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-refPersistenceUnitRefType<InterceptorType<T>> createPersistenceUnitRef()
persistence-unit-ref elementPersistenceUnitRefType> List<PersistenceUnitRefType<InterceptorType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref elementspersistence-unit-refInterceptorType<T> removeAllPersistenceUnitRef()
persistence-unit-ref elementsPersistenceUnitRefType> LifecycleCallbackType<InterceptorType<T>> getOrCreatePostConstruct()
post-construct element will be created and returned.
Otherwise, the first existing post-construct element will be returned.post-constructLifecycleCallbackType<InterceptorType<T>> createPostConstruct()
post-construct elementLifecycleCallbackType> List<LifecycleCallbackType<InterceptorType<T>>> getAllPostConstruct()
post-construct elementspost-constructInterceptorType<T> removeAllPostConstruct()
post-construct elementsLifecycleCallbackType> LifecycleCallbackType<InterceptorType<T>> getOrCreatePreDestroy()
pre-destroy element will be created and returned.
Otherwise, the first existing pre-destroy element will be returned.pre-destroyLifecycleCallbackType<InterceptorType<T>> createPreDestroy()
pre-destroy elementLifecycleCallbackType> List<LifecycleCallbackType<InterceptorType<T>>> getAllPreDestroy()
pre-destroy elementspre-destroyInterceptorType<T> removeAllPreDestroy()
pre-destroy elementsLifecycleCallbackType> DataSourceType<InterceptorType<T>> getOrCreateDataSource()
data-source element will be created and returned.
Otherwise, the first existing data-source element will be returned.data-sourceDataSourceType<InterceptorType<T>> createDataSource()
data-source elementDataSourceType> List<DataSourceType<InterceptorType<T>>> getAllDataSource()
data-source elementsdata-sourceInterceptorType<T> removeAllDataSource()
data-source elementsDataSourceType> ServiceRefType<InterceptorType<T>> getOrCreateServiceRef()
service-ref element will be created and returned.
Otherwise, the first existing service-ref element will be returned.service-refServiceRefType<InterceptorType<T>> createServiceRef()
service-ref elementServiceRefType> List<ServiceRefType<InterceptorType<T>>> getAllServiceRef()
service-ref elementsservice-refInterceptorType<T> removeAllServiceRef()
service-ref elementsServiceRefType> InterceptorType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsInterceptorTypeList<String> getAllDescription()
description elementsdescriptionInterceptorType<T> removeAllDescription()
description elementInterceptorTypeInterceptorType<T> interceptorClass(String interceptorClass)
interceptor-class elementinterceptorClass - the value for the element interceptor-classInterceptorTypeString getInterceptorClass()
interceptor-class elementinterceptor-classInterceptorType<T> removeInterceptorClass()
interceptor-class elementInterceptorTypeAroundInvokeType<InterceptorType<T>> getOrCreateAroundInvoke()
around-invoke element will be created and returned.
Otherwise, the first existing around-invoke element will be returned.around-invokeAroundInvokeType<InterceptorType<T>> createAroundInvoke()
around-invoke elementAroundInvokeType> List<AroundInvokeType<InterceptorType<T>>> getAllAroundInvoke()
around-invoke elementsaround-invokeInterceptorType<T> removeAllAroundInvoke()
around-invoke elementsAroundInvokeType> AroundTimeoutType<InterceptorType<T>> getOrCreateAroundTimeout()
around-timeout element will be created and returned.
Otherwise, the first existing around-timeout element will be returned.around-timeoutAroundTimeoutType<InterceptorType<T>> createAroundTimeout()
around-timeout elementAroundTimeoutType> List<AroundTimeoutType<InterceptorType<T>>> getAllAroundTimeout()
around-timeout elementsaround-timeoutInterceptorType<T> removeAllAroundTimeout()
around-timeout elementsAroundTimeoutType> LifecycleCallbackType<InterceptorType<T>> getOrCreatePostActivate()
post-activate element will be created and returned.
Otherwise, the first existing post-activate element will be returned.post-activateLifecycleCallbackType<InterceptorType<T>> createPostActivate()
post-activate elementLifecycleCallbackType> List<LifecycleCallbackType<InterceptorType<T>>> getAllPostActivate()
post-activate elementspost-activateInterceptorType<T> removeAllPostActivate()
post-activate elementsLifecycleCallbackType> LifecycleCallbackType<InterceptorType<T>> getOrCreatePrePassivate()
pre-passivate element will be created and returned.
Otherwise, the first existing pre-passivate element will be returned.pre-passivateLifecycleCallbackType<InterceptorType<T>> createPrePassivate()
pre-passivate elementLifecycleCallbackType> List<LifecycleCallbackType<InterceptorType<T>>> getAllPrePassivate()
pre-passivate elementspre-passivateInterceptorType<T> removeAllPrePassivate()
pre-passivate elementsLifecycleCallbackType> InterceptorType<T> id(String id)
id attributeid - the value for the attribute idInterceptorTypeString getId()
id attributeidInterceptorType<T> removeId()
id attributeInterceptorTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.