ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface MessageDrivenBeanType<T>
extends Child<T>

This interface defines the contract for the message-driven-beanType xsd type

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

Method Summary
 AroundInvokeType<MessageDrivenBeanType<T>> createAroundInvoke()
          Creates a new around-invoke element
 EjbLocalRefType<MessageDrivenBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<MessageDrivenBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 EnvEntryType<MessageDrivenBeanType<T>> createEnvEntry()
          Creates a new env-entry element
 IconType<MessageDrivenBeanType<T>> createIcon()
          Creates a new icon element
 MessageDestinationRefType<MessageDrivenBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 PersistenceContextRefType<MessageDrivenBeanType<T>> createPersistenceContextRef()
          Creates a new persistence-context-ref element
 PersistenceUnitRefType<MessageDrivenBeanType<T>> createPersistenceUnitRef()
          Creates a new persistence-unit-ref element
 LifecycleCallbackType<MessageDrivenBeanType<T>> createPostConstruct()
          Creates a new post-construct element
 LifecycleCallbackType<MessageDrivenBeanType<T>> createPreDestroy()
          Creates a new pre-destroy element
 ResourceEnvRefType<MessageDrivenBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<MessageDrivenBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 ServiceRefType<MessageDrivenBeanType<T>> createServiceRef()
          Creates a new service-ref element
 MessageDrivenBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 MessageDrivenBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 MessageDrivenBeanType<T> ejbClass(String ejbClass)
          Sets the ejb-class element
 MessageDrivenBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AroundInvokeType<MessageDrivenBeanType<T>>> getAllAroundInvoke()
          Returns all around-invoke elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<EjbLocalRefType<MessageDrivenBeanType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<MessageDrivenBeanType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<EnvEntryType<MessageDrivenBeanType<T>>> getAllEnvEntry()
          Returns all env-entry elements
 List<IconType<MessageDrivenBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<MessageDestinationRefType<MessageDrivenBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<PersistenceContextRefType<MessageDrivenBeanType<T>>> getAllPersistenceContextRef()
          Returns all persistence-context-ref elements
 List<PersistenceUnitRefType<MessageDrivenBeanType<T>>> getAllPersistenceUnitRef()
          Returns all persistence-unit-ref elements
 List<LifecycleCallbackType<MessageDrivenBeanType<T>>> getAllPostConstruct()
          Returns all post-construct elements
 List<LifecycleCallbackType<MessageDrivenBeanType<T>>> getAllPreDestroy()
          Returns all pre-destroy elements
 List<ResourceEnvRefType<MessageDrivenBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<MessageDrivenBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<ServiceRefType<MessageDrivenBeanType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getEjbClass()
          Returns the ejb-class element
 String getEjbName()
          Returns the ejb-name element
 String getMappedName()
          Returns the mapped-name element
 String getMessageDestinationLink()
          Returns the message-destination-link element
 String getMessageDestinationType()
          Returns the message-destination-type element
 String getMessagingType()
          Returns the messaging-type element
 ActivationConfigType<MessageDrivenBeanType<T>> getOrCreateActivationConfig()
          If not already created, a new activation-config element with the given value will be created.
 AroundInvokeType<MessageDrivenBeanType<T>> getOrCreateAroundInvoke()
          If not already created, a new around-invoke element will be created and returned.
 EjbLocalRefType<MessageDrivenBeanType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<MessageDrivenBeanType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 EnvEntryType<MessageDrivenBeanType<T>> getOrCreateEnvEntry()
          If not already created, a new env-entry element will be created and returned.
 IconType<MessageDrivenBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 MessageDestinationRefType<MessageDrivenBeanType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 PersistenceContextRefType<MessageDrivenBeanType<T>> getOrCreatePersistenceContextRef()
          If not already created, a new persistence-context-ref element will be created and returned.
 PersistenceUnitRefType<MessageDrivenBeanType<T>> getOrCreatePersistenceUnitRef()
          If not already created, a new persistence-unit-ref element will be created and returned.
 LifecycleCallbackType<MessageDrivenBeanType<T>> getOrCreatePostConstruct()
          If not already created, a new post-construct element will be created and returned.
 LifecycleCallbackType<MessageDrivenBeanType<T>> getOrCreatePreDestroy()
          If not already created, a new pre-destroy element will be created and returned.
 ResourceEnvRefType<MessageDrivenBeanType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<MessageDrivenBeanType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityIdentityType<MessageDrivenBeanType<T>> getOrCreateSecurityIdentity()
          If not already created, a new security-identity element with the given value will be created.
 ServiceRefType<MessageDrivenBeanType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 NamedMethodType<MessageDrivenBeanType<T>> getOrCreateTimeoutMethod()
          If not already created, a new timeout-method element with the given value will be created.
 TransactionTypeType getTransactionType()
          Returns the transaction-type element
 String getTransactionTypeAsString()
          Returns the transaction-type element
 MessageDrivenBeanType<T> mappedName(String mappedName)
          Sets the mapped-name element
 MessageDrivenBeanType<T> messageDestinationLink(String messageDestinationLink)
          Sets the message-destination-link element
 MessageDrivenBeanType<T> messageDestinationType(String messageDestinationType)
          Sets the message-destination-type element
 MessageDrivenBeanType<T> messagingType(String messagingType)
          Sets the messaging-type element
 MessageDrivenBeanType<T> removeActivationConfig()
          Removes the activation-config element
 MessageDrivenBeanType<T> removeAllAroundInvoke()
          Removes all around-invoke elements
 MessageDrivenBeanType<T> removeAllDescription()
          Removes the description element
 MessageDrivenBeanType<T> removeAllDisplayName()
          Removes the display-name element
 MessageDrivenBeanType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 MessageDrivenBeanType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 MessageDrivenBeanType<T> removeAllEnvEntry()
          Removes all env-entry elements
 MessageDrivenBeanType<T> removeAllIcon()
          Removes all icon elements
 MessageDrivenBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 MessageDrivenBeanType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 MessageDrivenBeanType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 MessageDrivenBeanType<T> removeAllPostConstruct()
          Removes all post-construct elements
 MessageDrivenBeanType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 MessageDrivenBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 MessageDrivenBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 MessageDrivenBeanType<T> removeAllServiceRef()
          Removes all service-ref elements
 MessageDrivenBeanType<T> removeEjbClass()
          Removes the ejb-class element
 MessageDrivenBeanType<T> removeEjbName()
          Removes the ejb-name element
 MessageDrivenBeanType<T> removeMappedName()
          Removes the mapped-name element
 MessageDrivenBeanType<T> removeMessageDestinationLink()
          Removes the message-destination-link element
 MessageDrivenBeanType<T> removeMessageDestinationType()
          Removes the message-destination-type element
 MessageDrivenBeanType<T> removeMessagingType()
          Removes the messaging-type element
 MessageDrivenBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 MessageDrivenBeanType<T> removeTimeoutMethod()
          Removes the timeout-method element
 MessageDrivenBeanType<T> removeTransactionType()
          Removes the transaction-type attribute
 MessageDrivenBeanType<T> transactionType(String transactionType)
          Sets the transaction-type element
 MessageDrivenBeanType<T> transactionType(TransactionTypeType transactionType)
          Sets the transaction-type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

MessageDrivenBeanType<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 MessageDrivenBeanType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

MessageDrivenBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of MessageDrivenBeanType

displayName

MessageDrivenBeanType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of MessageDrivenBeanType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

MessageDrivenBeanType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateIcon

IconType<MessageDrivenBeanType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<MessageDrivenBeanType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<MessageDrivenBeanType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

MessageDrivenBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateEnvEntry

EnvEntryType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createEnvEntry()
Creates a new env-entry element

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

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

Returns:
list of env-entry

removeAllEnvEntry

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

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

EjbRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

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

Returns:
list of ejb-ref

removeAllEjbRef

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

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

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

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

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

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

ResourceRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

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

Returns:
list of resource-ref

removeAllResourceRef

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

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

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

Returns:
list of resource-env-ref

removeAllResourceEnvRef

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

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

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

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

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

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

PersistenceContextRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createPersistenceContextRef()
Creates a new persistence-context-ref element

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

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

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

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

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

PersistenceUnitRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createPersistenceUnitRef()
Creates a new persistence-unit-ref element

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

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

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

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

Returns:
the current instance of PersistenceUnitRefType>

getOrCreatePostConstruct

LifecycleCallbackType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createPostConstruct()
Creates a new post-construct element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostConstruct

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

Returns:
list of post-construct

removeAllPostConstruct

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePreDestroy

LifecycleCallbackType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createPreDestroy()
Creates a new pre-destroy element

Returns:
the new created instance of LifecycleCallbackType>

getAllPreDestroy

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

Returns:
list of pre-destroy

removeAllPreDestroy

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreateServiceRef

ServiceRefType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createServiceRef()
Creates a new service-ref element

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

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

Returns:
list of service-ref

removeAllServiceRef

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

Returns:
the current instance of ServiceRefType>

ejbName

MessageDrivenBeanType<T> ejbName(String ejbName)
Sets the ejb-name element

Parameters:
ejbName - the value for the element ejb-name
Returns:
the current instance of MessageDrivenBeanType

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

MessageDrivenBeanType<T> removeEjbName()
Removes the ejb-name element

Returns:
the current instance of MessageDrivenBeanType

mappedName

MessageDrivenBeanType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of MessageDrivenBeanType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

MessageDrivenBeanType<T> removeMappedName()
Removes the mapped-name element

Returns:
the current instance of MessageDrivenBeanType

ejbClass

MessageDrivenBeanType<T> ejbClass(String ejbClass)
Sets the ejb-class element

Parameters:
ejbClass - the value for the element ejb-class
Returns:
the current instance of MessageDrivenBeanType

getEjbClass

String getEjbClass()
Returns the ejb-class element

Returns:
the node defined for the element ejb-class

removeEjbClass

MessageDrivenBeanType<T> removeEjbClass()
Removes the ejb-class element

Returns:
the current instance of MessageDrivenBeanType

messagingType

MessageDrivenBeanType<T> messagingType(String messagingType)
Sets the messaging-type element

Parameters:
messagingType - the value for the element messaging-type
Returns:
the current instance of MessageDrivenBeanType

getMessagingType

String getMessagingType()
Returns the messaging-type element

Returns:
the node defined for the element messaging-type

removeMessagingType

MessageDrivenBeanType<T> removeMessagingType()
Removes the messaging-type element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateTimeoutMethod

NamedMethodType<MessageDrivenBeanType<T>> getOrCreateTimeoutMethod()
If not already created, a new timeout-method element with the given value will be created. Otherwise, the existing timeout-method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeTimeoutMethod

MessageDrivenBeanType<T> removeTimeoutMethod()
Removes the timeout-method element

Returns:
the current instance of MessageDrivenBeanType

transactionType

MessageDrivenBeanType<T> transactionType(TransactionTypeType transactionType)
Sets the transaction-type element

Parameters:
transactionType - the value for the element transaction-type
Returns:
the current instance of MessageDrivenBeanType

transactionType

MessageDrivenBeanType<T> transactionType(String transactionType)
Sets the transaction-type element

Parameters:
transactionType - the value for the element transaction-type
Returns:
the current instance of MessageDrivenBeanType

getTransactionType

TransactionTypeType getTransactionType()
Returns the transaction-type element

Returns:
the value found for the element transaction-type

getTransactionTypeAsString

String getTransactionTypeAsString()
Returns the transaction-type element

Returns:
the value found for the element transaction-type

removeTransactionType

MessageDrivenBeanType<T> removeTransactionType()
Removes the transaction-type attribute

Returns:
the current instance of MessageDrivenBeanType

messageDestinationType

MessageDrivenBeanType<T> messageDestinationType(String messageDestinationType)
Sets the message-destination-type element

Parameters:
messageDestinationType - the value for the element message-destination-type
Returns:
the current instance of MessageDrivenBeanType

getMessageDestinationType

String getMessageDestinationType()
Returns the message-destination-type element

Returns:
the node defined for the element message-destination-type

removeMessageDestinationType

MessageDrivenBeanType<T> removeMessageDestinationType()
Removes the message-destination-type element

Returns:
the current instance of MessageDrivenBeanType

messageDestinationLink

MessageDrivenBeanType<T> messageDestinationLink(String messageDestinationLink)
Sets the message-destination-link element

Parameters:
messageDestinationLink - the value for the element message-destination-link
Returns:
the current instance of MessageDrivenBeanType

getMessageDestinationLink

String getMessageDestinationLink()
Returns the message-destination-link element

Returns:
the node defined for the element message-destination-link

removeMessageDestinationLink

MessageDrivenBeanType<T> removeMessageDestinationLink()
Removes the message-destination-link element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateActivationConfig

ActivationConfigType<MessageDrivenBeanType<T>> getOrCreateActivationConfig()
If not already created, a new activation-config element with the given value will be created. Otherwise, the existing activation-config element will be returned.

Returns:
a new or existing instance of ActivationConfigType>

removeActivationConfig

MessageDrivenBeanType<T> removeActivationConfig()
Removes the activation-config element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateAroundInvoke

AroundInvokeType<MessageDrivenBeanType<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<MessageDrivenBeanType<T>> createAroundInvoke()
Creates a new around-invoke element

Returns:
the new created instance of AroundInvokeType>

getAllAroundInvoke

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

Returns:
list of around-invoke

removeAllAroundInvoke

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

Returns:
the current instance of AroundInvokeType>

getOrCreateSecurityIdentity

SecurityIdentityType<MessageDrivenBeanType<T>> getOrCreateSecurityIdentity()
If not already created, a new security-identity element with the given value will be created. Otherwise, the existing security-identity element will be returned.

Returns:
a new or existing instance of SecurityIdentityType>

removeSecurityIdentity

MessageDrivenBeanType<T> removeSecurityIdentity()
Removes the security-identity element

Returns:
the current instance of MessageDrivenBeanType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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