org.jboss.shrinkwrap.descriptor.api.jboss51
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 :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MessageDrivenBeanType<T> aopDomainName(String aopDomainName)
          Sets the aop-domain-name element
 AnnotationType<MessageDrivenBeanType<T>> createAnnotation()
          Creates a new annotation element
 MessageDrivenBeanType<T> createDestination(Boolean createDestination)
          Sets the create-destination element
 EjbLocalRefType<MessageDrivenBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<MessageDrivenBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 IconType<MessageDrivenBeanType<T>> createIcon()
          Creates a new icon element
 JndiRefType<MessageDrivenBeanType<T>> createJndiRef()
          Creates a new jndi-ref element
 MessageDestinationRefType<MessageDrivenBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref 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> depends(String... values)
          Creates for all String objects representing depends elements, a new depends element
 MessageDrivenBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 MessageDrivenBeanType<T> destinationJndiName(String destinationJndiName)
          Sets the destination-jndi-name element
 MessageDrivenBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 MessageDrivenBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AnnotationType<MessageDrivenBeanType<T>>> getAllAnnotation()
          Returns all annotation elements
 List<String> getAllDepends()
          Returns all depends 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<IconType<MessageDrivenBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<JndiRefType<MessageDrivenBeanType<T>>> getAllJndiRef()
          Returns all jndi-ref elements
 List<MessageDestinationRefType<MessageDrivenBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref 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 getAopDomainName()
          Returns the aop-domain-name element
 String getDestinationJndiName()
          Returns the destination-jndi-name element
 String getEjbName()
          Returns the ejb-name element
 String getId()
          Returns the id attribute
 String getMdbClientId()
          Returns the mdb-client-id element
 String getMdbPasswd()
          Returns the mdb-passwd element
 String getMdbSubscriptionId()
          Returns the mdb-subscription-id element
 String getMdbUser()
          Returns the mdb-user element
 ActivationConfigType<MessageDrivenBeanType<T>> getOrCreateActivationConfig()
          If not already created, a new activation-config element with the given value will be created.
 AnnotationType<MessageDrivenBeanType<T>> getOrCreateAnnotation()
          If not already created, a new annotation 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.
 SecurityIdentityType<MessageDrivenBeanType<T>> getOrCreateEjbTimeoutIdentity()
          If not already created, a new ejb-timeout-identity element with the given value will be created.
 IconType<MessageDrivenBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 IgnoreDependencyType<MessageDrivenBeanType<T>> getOrCreateIgnoreDependency()
          If not already created, a new ignore-dependency element with the given value will be created.
 JndiRefType<MessageDrivenBeanType<T>> getOrCreateJndiRef()
          If not already created, a new jndi-ref 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.
 MethodAttributesType<MessageDrivenBeanType<T>> getOrCreateMethodAttributes()
          If not already created, a new method-attributes element with the given value will be created.
 PoolConfigType<MessageDrivenBeanType<T>> getOrCreatePoolConfig()
          If not already created, a new pool-config element with the given value will be created.
 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.
 String getResourceAdapterName()
          Returns the resource-adapter-name element
 String getSecurityDomain()
          Returns the security-domain element
 MessageDrivenBeanType<T> id(String id)
          Sets the id attribute
 Boolean isCreateDestination()
          Returns the create-destination element
 MessageDrivenBeanType<T> mdbClientId(String mdbClientId)
          Sets the mdb-client-id element
 MessageDrivenBeanType<T> mdbPasswd(String mdbPasswd)
          Sets the mdb-passwd element
 MessageDrivenBeanType<T> mdbSubscriptionId(String mdbSubscriptionId)
          Sets the mdb-subscription-id element
 MessageDrivenBeanType<T> mdbUser(String mdbUser)
          Sets the mdb-user element
 MessageDrivenBeanType<T> removeActivationConfig()
          Removes the activation-config element
 MessageDrivenBeanType<T> removeAllAnnotation()
          Removes all annotation elements
 MessageDrivenBeanType<T> removeAllDepends()
          Removes the depends element
 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> removeAllIcon()
          Removes all icon elements
 MessageDrivenBeanType<T> removeAllJndiRef()
          Removes all jndi-ref elements
 MessageDrivenBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref 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> removeAopDomainName()
          Removes the aop-domain-name element
 MessageDrivenBeanType<T> removeCreateDestination()
          Removes the create-destination element
 MessageDrivenBeanType<T> removeDestinationJndiName()
          Removes the destination-jndi-name element
 MessageDrivenBeanType<T> removeEjbName()
          Removes the ejb-name element
 MessageDrivenBeanType<T> removeEjbTimeoutIdentity()
          Removes the ejb-timeout-identity element
 MessageDrivenBeanType<T> removeId()
          Removes the id attribute
 MessageDrivenBeanType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 MessageDrivenBeanType<T> removeMdbClientId()
          Removes the mdb-client-id element
 MessageDrivenBeanType<T> removeMdbPasswd()
          Removes the mdb-passwd element
 MessageDrivenBeanType<T> removeMdbSubscriptionId()
          Removes the mdb-subscription-id element
 MessageDrivenBeanType<T> removeMdbUser()
          Removes the mdb-user element
 MessageDrivenBeanType<T> removeMethodAttributes()
          Removes the method-attributes element
 MessageDrivenBeanType<T> removePoolConfig()
          Removes the pool-config element
 MessageDrivenBeanType<T> removeResourceAdapterName()
          Removes the resource-adapter-name element
 MessageDrivenBeanType<T> removeSecurityDomain()
          Removes the security-domain element
 MessageDrivenBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 MessageDrivenBeanType<T> resourceAdapterName(String resourceAdapterName)
          Sets the resource-adapter-name element
 MessageDrivenBeanType<T> securityDomain(String securityDomain)
          Sets the security-domain 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>

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

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

destinationJndiName

MessageDrivenBeanType<T> destinationJndiName(String destinationJndiName)
Sets the destination-jndi-name element

Parameters:
destinationJndiName - the value for the element destination-jndi-name
Returns:
the current instance of MessageDrivenBeanType

getDestinationJndiName

String getDestinationJndiName()
Returns the destination-jndi-name element

Returns:
the node defined for the element destination-jndi-name

removeDestinationJndiName

MessageDrivenBeanType<T> removeDestinationJndiName()
Removes the destination-jndi-name element

Returns:
the current instance of MessageDrivenBeanType

mdbUser

MessageDrivenBeanType<T> mdbUser(String mdbUser)
Sets the mdb-user element

Parameters:
mdbUser - the value for the element mdb-user
Returns:
the current instance of MessageDrivenBeanType

getMdbUser

String getMdbUser()
Returns the mdb-user element

Returns:
the node defined for the element mdb-user

removeMdbUser

MessageDrivenBeanType<T> removeMdbUser()
Removes the mdb-user element

Returns:
the current instance of MessageDrivenBeanType

mdbPasswd

MessageDrivenBeanType<T> mdbPasswd(String mdbPasswd)
Sets the mdb-passwd element

Parameters:
mdbPasswd - the value for the element mdb-passwd
Returns:
the current instance of MessageDrivenBeanType

getMdbPasswd

String getMdbPasswd()
Returns the mdb-passwd element

Returns:
the node defined for the element mdb-passwd

removeMdbPasswd

MessageDrivenBeanType<T> removeMdbPasswd()
Removes the mdb-passwd element

Returns:
the current instance of MessageDrivenBeanType

mdbClientId

MessageDrivenBeanType<T> mdbClientId(String mdbClientId)
Sets the mdb-client-id element

Parameters:
mdbClientId - the value for the element mdb-client-id
Returns:
the current instance of MessageDrivenBeanType

getMdbClientId

String getMdbClientId()
Returns the mdb-client-id element

Returns:
the node defined for the element mdb-client-id

removeMdbClientId

MessageDrivenBeanType<T> removeMdbClientId()
Removes the mdb-client-id element

Returns:
the current instance of MessageDrivenBeanType

mdbSubscriptionId

MessageDrivenBeanType<T> mdbSubscriptionId(String mdbSubscriptionId)
Sets the mdb-subscription-id element

Parameters:
mdbSubscriptionId - the value for the element mdb-subscription-id
Returns:
the current instance of MessageDrivenBeanType

getMdbSubscriptionId

String getMdbSubscriptionId()
Returns the mdb-subscription-id element

Returns:
the node defined for the element mdb-subscription-id

removeMdbSubscriptionId

MessageDrivenBeanType<T> removeMdbSubscriptionId()
Removes the mdb-subscription-id element

Returns:
the current instance of MessageDrivenBeanType

resourceAdapterName

MessageDrivenBeanType<T> resourceAdapterName(String resourceAdapterName)
Sets the resource-adapter-name element

Parameters:
resourceAdapterName - the value for the element resource-adapter-name
Returns:
the current instance of MessageDrivenBeanType

getResourceAdapterName

String getResourceAdapterName()
Returns the resource-adapter-name element

Returns:
the node defined for the element resource-adapter-name

removeResourceAdapterName

MessageDrivenBeanType<T> removeResourceAdapterName()
Removes the resource-adapter-name element

Returns:
the current instance of MessageDrivenBeanType

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>

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>

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>

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

securityDomain

MessageDrivenBeanType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of MessageDrivenBeanType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

MessageDrivenBeanType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateMethodAttributes

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

Returns:
a new or existing instance of MethodAttributesType>

removeMethodAttributes

MessageDrivenBeanType<T> removeMethodAttributes()
Removes the method-attributes element

Returns:
the current instance of MessageDrivenBeanType

depends

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

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

getAllDepends

List<String> getAllDepends()
Returns all depends elements

Returns:
list of depends

removeAllDepends

MessageDrivenBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateEjbTimeoutIdentity

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

Returns:
a new or existing instance of SecurityIdentityType>

removeEjbTimeoutIdentity

MessageDrivenBeanType<T> removeEjbTimeoutIdentity()
Removes the ejb-timeout-identity element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateAnnotation

AnnotationType<MessageDrivenBeanType<T>> getOrCreateAnnotation()
If not already created, a new annotation element will be created and returned. Otherwise, the first existing annotation element will be returned.

Returns:
the instance defined for the element annotation

createAnnotation

AnnotationType<MessageDrivenBeanType<T>> createAnnotation()
Creates a new annotation element

Returns:
the new created instance of AnnotationType>

getAllAnnotation

List<AnnotationType<MessageDrivenBeanType<T>>> getAllAnnotation()
Returns all annotation elements

Returns:
list of annotation

removeAllAnnotation

MessageDrivenBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of AnnotationType>

getOrCreateIgnoreDependency

IgnoreDependencyType<MessageDrivenBeanType<T>> getOrCreateIgnoreDependency()
If not already created, a new ignore-dependency element with the given value will be created. Otherwise, the existing ignore-dependency element will be returned.

Returns:
a new or existing instance of IgnoreDependencyType>

removeIgnoreDependency

MessageDrivenBeanType<T> removeIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of MessageDrivenBeanType

aopDomainName

MessageDrivenBeanType<T> aopDomainName(String aopDomainName)
Sets the aop-domain-name element

Parameters:
aopDomainName - the value for the element aop-domain-name
Returns:
the current instance of MessageDrivenBeanType

getAopDomainName

String getAopDomainName()
Returns the aop-domain-name element

Returns:
the node defined for the element aop-domain-name

removeAopDomainName

MessageDrivenBeanType<T> removeAopDomainName()
Removes the aop-domain-name element

Returns:
the current instance of MessageDrivenBeanType

getOrCreatePoolConfig

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

Returns:
a new or existing instance of PoolConfigType>

removePoolConfig

MessageDrivenBeanType<T> removePoolConfig()
Removes the pool-config element

Returns:
the current instance of MessageDrivenBeanType

getOrCreateJndiRef

JndiRefType<MessageDrivenBeanType<T>> getOrCreateJndiRef()
If not already created, a new jndi-ref element will be created and returned. Otherwise, the first existing jndi-ref element will be returned.

Returns:
the instance defined for the element jndi-ref

createJndiRef

JndiRefType<MessageDrivenBeanType<T>> createJndiRef()
Creates a new jndi-ref element

Returns:
the new created instance of JndiRefType>

getAllJndiRef

List<JndiRefType<MessageDrivenBeanType<T>>> getAllJndiRef()
Returns all jndi-ref elements

Returns:
list of jndi-ref

removeAllJndiRef

MessageDrivenBeanType<T> removeAllJndiRef()
Removes all jndi-ref elements

Returns:
the current instance of JndiRefType>

createDestination

MessageDrivenBeanType<T> createDestination(Boolean createDestination)
Sets the create-destination element

Parameters:
createDestination - the value for the element create-destination
Returns:
the current instance of MessageDrivenBeanType

isCreateDestination

Boolean isCreateDestination()
Returns the create-destination element

Returns:
the node defined for the element create-destination

removeCreateDestination

MessageDrivenBeanType<T> removeCreateDestination()
Removes the create-destination element

Returns:
the current instance of MessageDrivenBeanType

id

MessageDrivenBeanType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of MessageDrivenBeanType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MessageDrivenBeanType<T> removeId()
Removes the id attribute

Returns:
the current instance of MessageDrivenBeanType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.