ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface InterceptorType<T>

All Superinterfaces:
Child<T>

public interface InterceptorType<T>
extends Child<T>

This interface defines the contract for the interceptorType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

getOrCreateEnvEntry

EnvEntryType<InterceptorType<T>> getOrCreateEnvEntry()
If not already created, a new env-entry element will be created and returned. Otherwise, the first existing env-entry element will be returned.

Returns:
the instance defined for the element env-entry

createEnvEntry

EnvEntryType<InterceptorType<T>> createEnvEntry()
Creates a new env-entry element

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

List<EnvEntryType<InterceptorType<T>>> getAllEnvEntry()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEnvEntry

InterceptorType<T> removeAllEnvEntry()
Removes all env-entry elements

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

EjbRefType<InterceptorType<T>> getOrCreateEjbRef()
If not already created, a new ejb-ref element will be created and returned. Otherwise, the first existing ejb-ref element will be returned.

Returns:
the instance defined for the element ejb-ref

createEjbRef

EjbRefType<InterceptorType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

List<EjbRefType<InterceptorType<T>>> getAllEjbRef()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbRef

InterceptorType<T> removeAllEjbRef()
Removes all ejb-ref elements

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<InterceptorType<T>> getOrCreateEjbLocalRef()
If not already created, a new ejb-local-ref element will be created and returned. Otherwise, the first existing ejb-local-ref element will be returned.

Returns:
the instance defined for the element ejb-local-ref

createEjbLocalRef

EjbLocalRefType<InterceptorType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

List<EjbLocalRefType<InterceptorType<T>>> getAllEjbLocalRef()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

InterceptorType<T> removeAllEjbLocalRef()
Removes all ejb-local-ref elements

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

ResourceRefType<InterceptorType<T>> getOrCreateResourceRef()
If not already created, a new resource-ref element will be created and returned. Otherwise, the first existing resource-ref element will be returned.

Returns:
the instance defined for the element resource-ref

createResourceRef

ResourceRefType<InterceptorType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

List<ResourceRefType<InterceptorType<T>>> getAllResourceRef()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceRef

InterceptorType<T> removeAllResourceRef()
Removes all resource-ref elements

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<InterceptorType<T>> getOrCreateResourceEnvRef()
If not already created, a new resource-env-ref element will be created and returned. Otherwise, the first existing resource-env-ref element will be returned.

Returns:
the instance defined for the element resource-env-ref

createResourceEnvRef

ResourceEnvRefType<InterceptorType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

List<ResourceEnvRefType<InterceptorType<T>>> getAllResourceEnvRef()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllResourceEnvRef

InterceptorType<T> removeAllResourceEnvRef()
Removes all resource-env-ref elements

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<InterceptorType<T>> getOrCreateMessageDestinationRef()
If not already created, a new message-destination-ref element will be created and returned. Otherwise, the first existing message-destination-ref element will be returned.

Returns:
the instance defined for the element message-destination-ref

createMessageDestinationRef

MessageDestinationRefType<InterceptorType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

List<MessageDestinationRefType<InterceptorType<T>>> getAllMessageDestinationRef()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

InterceptorType<T> removeAllMessageDestinationRef()
Removes all message-destination-ref elements

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

PersistenceContextRefType<InterceptorType<T>> getOrCreatePersistenceContextRef()
If not already created, a new persistence-context-ref element will be created and returned. Otherwise, the first existing persistence-context-ref element will be returned.

Returns:
the instance defined for the element persistence-context-ref

createPersistenceContextRef

PersistenceContextRefType<InterceptorType<T>> createPersistenceContextRef()
Creates a new persistence-context-ref element

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

List<PersistenceContextRefType<InterceptorType<T>>> getAllPersistenceContextRef()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

InterceptorType<T> removeAllPersistenceContextRef()
Removes all persistence-context-ref elements

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

PersistenceUnitRefType<InterceptorType<T>> getOrCreatePersistenceUnitRef()
If not already created, a new persistence-unit-ref element will be created and returned. Otherwise, the first existing persistence-unit-ref element will be returned.

Returns:
the instance defined for the element persistence-unit-ref

createPersistenceUnitRef

PersistenceUnitRefType<InterceptorType<T>> createPersistenceUnitRef()
Creates a new persistence-unit-ref element

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

List<PersistenceUnitRefType<InterceptorType<T>>> getAllPersistenceUnitRef()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

InterceptorType<T> removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements

Returns:
the current instance of PersistenceUnitRefType>

getOrCreatePostConstruct

LifecycleCallbackType<InterceptorType<T>> getOrCreatePostConstruct()
If not already created, a new post-construct element will be created and returned. Otherwise, the first existing post-construct element will be returned.

Returns:
the instance defined for the element post-construct

createPostConstruct

LifecycleCallbackType<InterceptorType<T>> createPostConstruct()
Creates a new post-construct element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostConstruct

List<LifecycleCallbackType<InterceptorType<T>>> getAllPostConstruct()
Returns all post-construct elements

Returns:
list of post-construct

removeAllPostConstruct

InterceptorType<T> removeAllPostConstruct()
Removes all post-construct elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePreDestroy

LifecycleCallbackType<InterceptorType<T>> getOrCreatePreDestroy()
If not already created, a new pre-destroy element will be created and returned. Otherwise, the first existing pre-destroy element will be returned.

Returns:
the instance defined for the element pre-destroy

createPreDestroy

LifecycleCallbackType<InterceptorType<T>> createPreDestroy()
Creates a new pre-destroy element

Returns:
the new created instance of LifecycleCallbackType>

getAllPreDestroy

List<LifecycleCallbackType<InterceptorType<T>>> getAllPreDestroy()
Returns all pre-destroy elements

Returns:
list of pre-destroy

removeAllPreDestroy

InterceptorType<T> removeAllPreDestroy()
Removes all pre-destroy elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreateServiceRef

ServiceRefType<InterceptorType<T>> getOrCreateServiceRef()
If not already created, a new service-ref element will be created and returned. Otherwise, the first existing service-ref element will be returned.

Returns:
the instance defined for the element service-ref

createServiceRef

ServiceRefType<InterceptorType<T>> createServiceRef()
Creates a new service-ref element

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

List<ServiceRefType<InterceptorType<T>>> getAllServiceRef()
Returns all service-ref elements

Returns:
list of service-ref

removeAllServiceRef

InterceptorType<T> removeAllServiceRef()
Removes all service-ref elements

Returns:
the current instance of ServiceRefType>

description

InterceptorType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of InterceptorType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

InterceptorType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of InterceptorType

interceptorClass

InterceptorType<T> interceptorClass(String interceptorClass)
Sets the interceptor-class element

Parameters:
interceptorClass - the value for the element interceptor-class
Returns:
the current instance of InterceptorType

getInterceptorClass

String getInterceptorClass()
Returns the interceptor-class element

Returns:
the node defined for the element interceptor-class

removeInterceptorClass

InterceptorType<T> removeInterceptorClass()
Removes the interceptor-class element

Returns:
the current instance of InterceptorType

getOrCreateAroundInvoke

AroundInvokeType<InterceptorType<T>> getOrCreateAroundInvoke()
If not already created, a new around-invoke element will be created and returned. Otherwise, the first existing around-invoke element will be returned.

Returns:
the instance defined for the element around-invoke

createAroundInvoke

AroundInvokeType<InterceptorType<T>> createAroundInvoke()
Creates a new around-invoke element

Returns:
the new created instance of AroundInvokeType>

getAllAroundInvoke

List<AroundInvokeType<InterceptorType<T>>> getAllAroundInvoke()
Returns all around-invoke elements

Returns:
list of around-invoke

removeAllAroundInvoke

InterceptorType<T> removeAllAroundInvoke()
Removes all around-invoke elements

Returns:
the current instance of AroundInvokeType>

getOrCreatePostActivate

LifecycleCallbackType<InterceptorType<T>> getOrCreatePostActivate()
If not already created, a new post-activate element will be created and returned. Otherwise, the first existing post-activate element will be returned.

Returns:
the instance defined for the element post-activate

createPostActivate

LifecycleCallbackType<InterceptorType<T>> createPostActivate()
Creates a new post-activate element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostActivate

List<LifecycleCallbackType<InterceptorType<T>>> getAllPostActivate()
Returns all post-activate elements

Returns:
list of post-activate

removeAllPostActivate

InterceptorType<T> removeAllPostActivate()
Removes all post-activate elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePrePassivate

LifecycleCallbackType<InterceptorType<T>> getOrCreatePrePassivate()
If not already created, a new pre-passivate element will be created and returned. Otherwise, the first existing pre-passivate element will be returned.

Returns:
the instance defined for the element pre-passivate

createPrePassivate

LifecycleCallbackType<InterceptorType<T>> createPrePassivate()
Creates a new pre-passivate element

Returns:
the new created instance of LifecycleCallbackType>

getAllPrePassivate

List<LifecycleCallbackType<InterceptorType<T>>> getAllPrePassivate()
Returns all pre-passivate elements

Returns:
list of pre-passivate

removeAllPrePassivate

InterceptorType<T> removeAllPrePassivate()
Removes all pre-passivate elements

Returns:
the current instance of LifecycleCallbackType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.