org.jboss.shrinkwrap.descriptor.api.jboss51
Interface ServiceBeanType<T>

All Superinterfaces:
Child<T>

public interface ServiceBeanType<T>
extends Child<T>

This interface defines the contract for the service-beanType xsd type

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ServiceBeanType<T> aopDomainName(String aopDomainName)
          Sets the aop-domain-name element
 ServiceBeanType<T> businessLocal(String... values)
          Creates for all String objects representing business-local elements, a new business-local element
 ServiceBeanType<T> businessRemote(String... values)
          Creates for all String objects representing business-remote elements, a new business-remote element
 ServiceBeanType<T> clustered(Boolean clustered)
          Sets the clustered element
 ServiceBeanType<T> concurrent(Boolean concurrent)
          Sets the concurrent element
 AnnotationType<ServiceBeanType<T>> createAnnotation()
          Creates a new annotation element
 EjbLocalRefType<ServiceBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<ServiceBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 EnvEntryType<ServiceBeanType<T>> createEnvEntry()
          Creates a new env-entry element
 IconType<ServiceBeanType<T>> createIcon()
          Creates a new icon element
 JndiRefType<ServiceBeanType<T>> createJndiRef()
          Creates a new jndi-ref element
 LocalBindingType<ServiceBeanType<T>> createLocalBinding()
          Creates a new local-binding element
 MessageDestinationRefType<ServiceBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 PersistenceContextRefType<ServiceBeanType<T>> createPersistenceContextRef()
          Creates a new persistence-context-ref element
 PersistenceUnitRefType<ServiceBeanType<T>> createPersistenceUnitRef()
          Creates a new persistence-unit-ref element
 LifecycleCallbackType<ServiceBeanType<T>> createPostConstruct()
          Creates a new post-construct element
 LifecycleCallbackType<ServiceBeanType<T>> createPreDestroy()
          Creates a new pre-destroy element
 RemoteBindingType<ServiceBeanType<T>> createRemoteBinding()
          Creates a new remote-binding element
 ResourceEnvRefType<ServiceBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<ServiceBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 ServiceRefType<ServiceBeanType<T>> createServiceRef()
          Creates a new service-ref element
 ServiceBeanType<T> depends(String... values)
          Creates for all String objects representing depends elements, a new depends element
 ServiceBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 ServiceBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 ServiceBeanType<T> ejbClass(String ejbClass)
          Sets the ejb-class element
 ServiceBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AnnotationType<ServiceBeanType<T>>> getAllAnnotation()
          Returns all annotation elements
 List<String> getAllBusinessLocal()
          Returns all business-local elements
 List<String> getAllBusinessRemote()
          Returns all business-remote 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<ServiceBeanType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<ServiceBeanType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<EnvEntryType<ServiceBeanType<T>>> getAllEnvEntry()
          Returns all env-entry elements
 List<IconType<ServiceBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<JndiRefType<ServiceBeanType<T>>> getAllJndiRef()
          Returns all jndi-ref elements
 List<LocalBindingType<ServiceBeanType<T>>> getAllLocalBinding()
          Returns all local-binding elements
 List<MessageDestinationRefType<ServiceBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<PersistenceContextRefType<ServiceBeanType<T>>> getAllPersistenceContextRef()
          Returns all persistence-context-ref elements
 List<PersistenceUnitRefType<ServiceBeanType<T>>> getAllPersistenceUnitRef()
          Returns all persistence-unit-ref elements
 List<LifecycleCallbackType<ServiceBeanType<T>>> getAllPostConstruct()
          Returns all post-construct elements
 List<LifecycleCallbackType<ServiceBeanType<T>>> getAllPreDestroy()
          Returns all pre-destroy elements
 List<RemoteBindingType<ServiceBeanType<T>>> getAllRemoteBinding()
          Returns all remote-binding elements
 List<ResourceEnvRefType<ServiceBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<ServiceBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<ServiceRefType<ServiceBeanType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getAopDomainName()
          Returns the aop-domain-name element
 String getEjbClass()
          Returns the ejb-class element
 String getEjbName()
          Returns the ejb-name element
 String getHomeJndiName()
          Returns the home-jndi-name element
 String getId()
          Returns the id attribute
 String getJndiBindingPolicy()
          Returns the jndi-binding-policy element
 String getJndiName()
          Returns the jndi-name element
 String getLocalJndiName()
          Returns the local-jndi-name element
 String getManagement()
          Returns the management element
 String getMappedName()
          Returns the mapped-name element
 String getObjectName()
          Returns the object-name element
 AnnotationType<ServiceBeanType<T>> getOrCreateAnnotation()
          If not already created, a new annotation element will be created and returned.
 ClusterConfigType<ServiceBeanType<T>> getOrCreateClusterConfig()
          If not already created, a new cluster-config element with the given value will be created.
 EjbLocalRefType<ServiceBeanType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<ServiceBeanType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 SecurityIdentityType<ServiceBeanType<T>> getOrCreateEjbTimeoutIdentity()
          If not already created, a new ejb-timeout-identity element with the given value will be created.
 EnvEntryType<ServiceBeanType<T>> getOrCreateEnvEntry()
          If not already created, a new env-entry element will be created and returned.
 IconType<ServiceBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 IgnoreDependencyType<ServiceBeanType<T>> getOrCreateIgnoreDependency()
          If not already created, a new ignore-dependency element with the given value will be created.
 JndiRefType<ServiceBeanType<T>> getOrCreateJndiRef()
          If not already created, a new jndi-ref element will be created and returned.
 LocalBindingType<ServiceBeanType<T>> getOrCreateLocalBinding()
          If not already created, a new local-binding element will be created and returned.
 MessageDestinationRefType<ServiceBeanType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 MethodAttributesType<ServiceBeanType<T>> getOrCreateMethodAttributes()
          If not already created, a new method-attributes element with the given value will be created.
 PersistenceContextRefType<ServiceBeanType<T>> getOrCreatePersistenceContextRef()
          If not already created, a new persistence-context-ref element will be created and returned.
 PersistenceUnitRefType<ServiceBeanType<T>> getOrCreatePersistenceUnitRef()
          If not already created, a new persistence-unit-ref element will be created and returned.
 PoolConfigType<ServiceBeanType<T>> getOrCreatePoolConfig()
          If not already created, a new pool-config element with the given value will be created.
 PortComponentType<ServiceBeanType<T>> getOrCreatePortComponent()
          If not already created, a new port-component element with the given value will be created.
 LifecycleCallbackType<ServiceBeanType<T>> getOrCreatePostConstruct()
          If not already created, a new post-construct element will be created and returned.
 LifecycleCallbackType<ServiceBeanType<T>> getOrCreatePreDestroy()
          If not already created, a new pre-destroy element will be created and returned.
 RemoteBindingType<ServiceBeanType<T>> getOrCreateRemoteBinding()
          If not already created, a new remote-binding element will be created and returned.
 ResourceEnvRefType<ServiceBeanType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<ServiceBeanType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityIdentityType<ServiceBeanType<T>> getOrCreateSecurityIdentity()
          If not already created, a new security-identity element with the given value will be created.
 ServiceRefType<ServiceBeanType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 String getSecurityDomain()
          Returns the security-domain element
 String getXmbean()
          Returns the xmbean element
 ServiceBeanType<T> homeJndiName(String homeJndiName)
          Sets the home-jndi-name element
 ServiceBeanType<T> id(String id)
          Sets the id attribute
 Boolean isClustered()
          Returns the clustered element
 Boolean isConcurrent()
          Returns the concurrent element
 ServiceBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
          Sets the jndi-binding-policy element
 ServiceBeanType<T> jndiName(String jndiName)
          Sets the jndi-name element
 ServiceBeanType<T> localJndiName(String localJndiName)
          Sets the local-jndi-name element
 ServiceBeanType<T> management(String management)
          Sets the management element
 ServiceBeanType<T> mappedName(String mappedName)
          Sets the mapped-name element
 ServiceBeanType<T> objectName(String objectName)
          Sets the object-name element
 ServiceBeanType<T> removeAllAnnotation()
          Removes all annotation elements
 ServiceBeanType<T> removeAllBusinessLocal()
          Removes the business-local element
 ServiceBeanType<T> removeAllBusinessRemote()
          Removes the business-remote element
 ServiceBeanType<T> removeAllDepends()
          Removes the depends element
 ServiceBeanType<T> removeAllDescription()
          Removes the description element
 ServiceBeanType<T> removeAllDisplayName()
          Removes the display-name element
 ServiceBeanType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 ServiceBeanType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 ServiceBeanType<T> removeAllEnvEntry()
          Removes all env-entry elements
 ServiceBeanType<T> removeAllIcon()
          Removes all icon elements
 ServiceBeanType<T> removeAllJndiRef()
          Removes all jndi-ref elements
 ServiceBeanType<T> removeAllLocalBinding()
          Removes all local-binding elements
 ServiceBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 ServiceBeanType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 ServiceBeanType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 ServiceBeanType<T> removeAllPostConstruct()
          Removes all post-construct elements
 ServiceBeanType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 ServiceBeanType<T> removeAllRemoteBinding()
          Removes all remote-binding elements
 ServiceBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 ServiceBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 ServiceBeanType<T> removeAllServiceRef()
          Removes all service-ref elements
 ServiceBeanType<T> removeAopDomainName()
          Removes the aop-domain-name element
 ServiceBeanType<T> removeClusterConfig()
          Removes the cluster-config element
 ServiceBeanType<T> removeClustered()
          Removes the clustered element
 ServiceBeanType<T> removeConcurrent()
          Removes the concurrent element
 ServiceBeanType<T> removeEjbClass()
          Removes the ejb-class element
 ServiceBeanType<T> removeEjbName()
          Removes the ejb-name element
 ServiceBeanType<T> removeEjbTimeoutIdentity()
          Removes the ejb-timeout-identity element
 ServiceBeanType<T> removeHomeJndiName()
          Removes the home-jndi-name element
 ServiceBeanType<T> removeId()
          Removes the id attribute
 ServiceBeanType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 ServiceBeanType<T> removeJndiBindingPolicy()
          Removes the jndi-binding-policy element
 ServiceBeanType<T> removeJndiName()
          Removes the jndi-name element
 ServiceBeanType<T> removeLocalJndiName()
          Removes the local-jndi-name element
 ServiceBeanType<T> removeManagement()
          Removes the management element
 ServiceBeanType<T> removeMappedName()
          Removes the mapped-name element
 ServiceBeanType<T> removeMethodAttributes()
          Removes the method-attributes element
 ServiceBeanType<T> removeObjectName()
          Removes the object-name element
 ServiceBeanType<T> removePoolConfig()
          Removes the pool-config element
 ServiceBeanType<T> removePortComponent()
          Removes the port-component element
 ServiceBeanType<T> removeSecurityDomain()
          Removes the security-domain element
 ServiceBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 ServiceBeanType<T> removeXmbean()
          Removes the xmbean element
 ServiceBeanType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 ServiceBeanType<T> xmbean(String xmbean)
          Sets the xmbean element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ServiceBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ServiceBeanType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of ServiceBeanType

getOrCreateIcon

IconType<ServiceBeanType<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<ServiceBeanType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

ServiceBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateEnvEntry

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

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

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

Returns:
list of env-entry

removeAllEnvEntry

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

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

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

Returns:
the new created instance of EjbRefType>

getAllEjbRef

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

Returns:
list of ejb-ref

removeAllEjbRef

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

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

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

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

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

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

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

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

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

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

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

Returns:
list of resource-ref

removeAllResourceRef

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

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

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

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

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

Returns:
list of resource-env-ref

removeAllResourceEnvRef

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

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

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

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

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

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

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

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

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

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

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

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

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

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

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

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

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

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

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

Returns:
the current instance of PersistenceUnitRefType>

getOrCreatePostConstruct

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

Returns:
the new created instance of LifecycleCallbackType>

getAllPostConstruct

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

Returns:
list of post-construct

removeAllPostConstruct

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePreDestroy

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

Returns:
the new created instance of LifecycleCallbackType>

getAllPreDestroy

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

Returns:
list of pre-destroy

removeAllPreDestroy

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreateServiceRef

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

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

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

Returns:
list of service-ref

removeAllServiceRef

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

Returns:
the current instance of ServiceRefType>

ejbName

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

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

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

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

Returns:
the current instance of ServiceBeanType

mappedName

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

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

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

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

Returns:
the current instance of ServiceBeanType

businessLocal

ServiceBeanType<T> businessLocal(String... values)
Creates for all String objects representing business-local elements, a new business-local element

Parameters:
values - list of business-local objects
Returns:
the current instance of ServiceBeanType

getAllBusinessLocal

List<String> getAllBusinessLocal()
Returns all business-local elements

Returns:
list of business-local

removeAllBusinessLocal

ServiceBeanType<T> removeAllBusinessLocal()
Removes the business-local element

Returns:
the current instance of ServiceBeanType

businessRemote

ServiceBeanType<T> businessRemote(String... values)
Creates for all String objects representing business-remote elements, a new business-remote element

Parameters:
values - list of business-remote objects
Returns:
the current instance of ServiceBeanType

getAllBusinessRemote

List<String> getAllBusinessRemote()
Returns all business-remote elements

Returns:
list of business-remote

removeAllBusinessRemote

ServiceBeanType<T> removeAllBusinessRemote()
Removes the business-remote element

Returns:
the current instance of ServiceBeanType

ejbClass

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

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

getEjbClass

String getEjbClass()
Returns the ejb-class element

Returns:
the node defined for the element ejb-class

removeEjbClass

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

Returns:
the current instance of ServiceBeanType

getOrCreateSecurityIdentity

SecurityIdentityType<ServiceBeanType<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

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

Returns:
the current instance of ServiceBeanType

objectName

ServiceBeanType<T> objectName(String objectName)
Sets the object-name element

Parameters:
objectName - the value for the element object-name
Returns:
the current instance of ServiceBeanType

getObjectName

String getObjectName()
Returns the object-name element

Returns:
the node defined for the element object-name

removeObjectName

ServiceBeanType<T> removeObjectName()
Removes the object-name element

Returns:
the current instance of ServiceBeanType

management

ServiceBeanType<T> management(String management)
Sets the management element

Parameters:
management - the value for the element management
Returns:
the current instance of ServiceBeanType

getManagement

String getManagement()
Returns the management element

Returns:
the node defined for the element management

removeManagement

ServiceBeanType<T> removeManagement()
Removes the management element

Returns:
the current instance of ServiceBeanType

xmbean

ServiceBeanType<T> xmbean(String xmbean)
Sets the xmbean element

Parameters:
xmbean - the value for the element xmbean
Returns:
the current instance of ServiceBeanType

getXmbean

String getXmbean()
Returns the xmbean element

Returns:
the node defined for the element xmbean

removeXmbean

ServiceBeanType<T> removeXmbean()
Removes the xmbean element

Returns:
the current instance of ServiceBeanType

getOrCreateLocalBinding

LocalBindingType<ServiceBeanType<T>> getOrCreateLocalBinding()
If not already created, a new local-binding element will be created and returned. Otherwise, the first existing local-binding element will be returned.

Returns:
the instance defined for the element local-binding

createLocalBinding

LocalBindingType<ServiceBeanType<T>> createLocalBinding()
Creates a new local-binding element

Returns:
the new created instance of LocalBindingType>

getAllLocalBinding

List<LocalBindingType<ServiceBeanType<T>>> getAllLocalBinding()
Returns all local-binding elements

Returns:
list of local-binding

removeAllLocalBinding

ServiceBeanType<T> removeAllLocalBinding()
Removes all local-binding elements

Returns:
the current instance of LocalBindingType>

getOrCreateRemoteBinding

RemoteBindingType<ServiceBeanType<T>> getOrCreateRemoteBinding()
If not already created, a new remote-binding element will be created and returned. Otherwise, the first existing remote-binding element will be returned.

Returns:
the instance defined for the element remote-binding

createRemoteBinding

RemoteBindingType<ServiceBeanType<T>> createRemoteBinding()
Creates a new remote-binding element

Returns:
the new created instance of RemoteBindingType>

getAllRemoteBinding

List<RemoteBindingType<ServiceBeanType<T>>> getAllRemoteBinding()
Returns all remote-binding elements

Returns:
list of remote-binding

removeAllRemoteBinding

ServiceBeanType<T> removeAllRemoteBinding()
Removes all remote-binding elements

Returns:
the current instance of RemoteBindingType>

jndiName

ServiceBeanType<T> jndiName(String jndiName)
Sets the jndi-name element

Parameters:
jndiName - the value for the element jndi-name
Returns:
the current instance of ServiceBeanType

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

ServiceBeanType<T> removeJndiName()
Removes the jndi-name element

Returns:
the current instance of ServiceBeanType

homeJndiName

ServiceBeanType<T> homeJndiName(String homeJndiName)
Sets the home-jndi-name element

Parameters:
homeJndiName - the value for the element home-jndi-name
Returns:
the current instance of ServiceBeanType

getHomeJndiName

String getHomeJndiName()
Returns the home-jndi-name element

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

removeHomeJndiName

ServiceBeanType<T> removeHomeJndiName()
Removes the home-jndi-name element

Returns:
the current instance of ServiceBeanType

localJndiName

ServiceBeanType<T> localJndiName(String localJndiName)
Sets the local-jndi-name element

Parameters:
localJndiName - the value for the element local-jndi-name
Returns:
the current instance of ServiceBeanType

getLocalJndiName

String getLocalJndiName()
Returns the local-jndi-name element

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

removeLocalJndiName

ServiceBeanType<T> removeLocalJndiName()
Removes the local-jndi-name element

Returns:
the current instance of ServiceBeanType

jndiBindingPolicy

ServiceBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
Sets the jndi-binding-policy element

Parameters:
jndiBindingPolicy - the value for the element jndi-binding-policy
Returns:
the current instance of ServiceBeanType

getJndiBindingPolicy

String getJndiBindingPolicy()
Returns the jndi-binding-policy element

Returns:
the node defined for the element jndi-binding-policy

removeJndiBindingPolicy

ServiceBeanType<T> removeJndiBindingPolicy()
Removes the jndi-binding-policy element

Returns:
the current instance of ServiceBeanType

clustered

ServiceBeanType<T> clustered(Boolean clustered)
Sets the clustered element

Parameters:
clustered - the value for the element clustered
Returns:
the current instance of ServiceBeanType

isClustered

Boolean isClustered()
Returns the clustered element

Returns:
the node defined for the element clustered

removeClustered

ServiceBeanType<T> removeClustered()
Removes the clustered element

Returns:
the current instance of ServiceBeanType

getOrCreateClusterConfig

ClusterConfigType<ServiceBeanType<T>> getOrCreateClusterConfig()
If not already created, a new cluster-config element with the given value will be created. Otherwise, the existing cluster-config element will be returned.

Returns:
a new or existing instance of ClusterConfigType>

removeClusterConfig

ServiceBeanType<T> removeClusterConfig()
Removes the cluster-config element

Returns:
the current instance of ServiceBeanType

securityDomain

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

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

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

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

Returns:
the current instance of ServiceBeanType

getOrCreateMethodAttributes

MethodAttributesType<ServiceBeanType<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

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

Returns:
the current instance of ServiceBeanType

depends

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

getAllDepends

List<String> getAllDepends()
Returns all depends elements

Returns:
list of depends

removeAllDepends

ServiceBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of ServiceBeanType

getOrCreateAnnotation

AnnotationType<ServiceBeanType<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<ServiceBeanType<T>> createAnnotation()
Creates a new annotation element

Returns:
the new created instance of AnnotationType>

getAllAnnotation

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

Returns:
list of annotation

removeAllAnnotation

ServiceBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of AnnotationType>

getOrCreateIgnoreDependency

IgnoreDependencyType<ServiceBeanType<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

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

Returns:
the current instance of ServiceBeanType

aopDomainName

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

getAopDomainName

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

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

removeAopDomainName

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

Returns:
the current instance of ServiceBeanType

getOrCreatePoolConfig

PoolConfigType<ServiceBeanType<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

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

Returns:
the current instance of ServiceBeanType

concurrent

ServiceBeanType<T> concurrent(Boolean concurrent)
Sets the concurrent element

Parameters:
concurrent - the value for the element concurrent
Returns:
the current instance of ServiceBeanType

isConcurrent

Boolean isConcurrent()
Returns the concurrent element

Returns:
the node defined for the element concurrent

removeConcurrent

ServiceBeanType<T> removeConcurrent()
Removes the concurrent element

Returns:
the current instance of ServiceBeanType

getOrCreateJndiRef

JndiRefType<ServiceBeanType<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<ServiceBeanType<T>> createJndiRef()
Creates a new jndi-ref element

Returns:
the new created instance of JndiRefType>

getAllJndiRef

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

Returns:
list of jndi-ref

removeAllJndiRef

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

Returns:
the current instance of JndiRefType>

getOrCreatePortComponent

PortComponentType<ServiceBeanType<T>> getOrCreatePortComponent()
If not already created, a new port-component element with the given value will be created. Otherwise, the existing port-component element will be returned.

Returns:
a new or existing instance of PortComponentType>

removePortComponent

ServiceBeanType<T> removePortComponent()
Removes the port-component element

Returns:
the current instance of ServiceBeanType

getOrCreateEjbTimeoutIdentity

SecurityIdentityType<ServiceBeanType<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

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

Returns:
the current instance of ServiceBeanType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ServiceBeanType<T> removeId()
Removes the id attribute

Returns:
the current instance of ServiceBeanType


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