public interface SessionBeanType<T> extends Child<T>
session-beanType
xsd typeModifier and Type | Method and Description |
---|---|
SessionBeanType<T> |
aopDomainName(String aopDomainName)
Sets the
aop-domain-name element |
SessionBeanType<T> |
businessLocal(String... values)
Creates for all String objects representing
business-local elements,
a new business-local element |
SessionBeanType<T> |
businessRemote(String... values)
Creates for all String objects representing
business-remote elements,
a new business-remote element |
SessionBeanType<T> |
clustered(Boolean clustered)
Sets the
clustered element |
SessionBeanType<T> |
concurrent(Boolean concurrent)
Sets the
concurrent element |
AnnotationType<SessionBeanType<T>> |
createAnnotation()
Creates a new
annotation element |
EjbLocalRefType<SessionBeanType<T>> |
createEjbLocalRef()
Creates a new
ejb-local-ref element |
EjbRefType<SessionBeanType<T>> |
createEjbRef()
Creates a new
ejb-ref element |
EnvEntryType<SessionBeanType<T>> |
createEnvEntry()
Creates a new
env-entry element |
IconType<SessionBeanType<T>> |
createIcon()
Creates a new
icon element |
JndiRefType<SessionBeanType<T>> |
createJndiRef()
Creates a new
jndi-ref element |
LocalBindingType<SessionBeanType<T>> |
createLocalBinding()
Creates a new
local-binding element |
MessageDestinationRefType<SessionBeanType<T>> |
createMessageDestinationRef()
Creates a new
message-destination-ref element |
PersistenceContextRefType<SessionBeanType<T>> |
createPersistenceContextRef()
Creates a new
persistence-context-ref element |
PersistenceUnitRefType<SessionBeanType<T>> |
createPersistenceUnitRef()
Creates a new
persistence-unit-ref element |
LifecycleCallbackType<SessionBeanType<T>> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<SessionBeanType<T>> |
createPreDestroy()
Creates a new
pre-destroy element |
RemoteBindingType<SessionBeanType<T>> |
createRemoteBinding()
Creates a new
remote-binding element |
ResourceEnvRefType<SessionBeanType<T>> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<SessionBeanType<T>> |
createResourceRef()
Creates a new
resource-ref element |
ServiceRefType<SessionBeanType<T>> |
createServiceRef()
Creates a new
service-ref element |
SessionBeanType<T> |
depends(String... values)
Creates for all String objects representing
depends elements,
a new depends element |
SessionBeanType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
SessionBeanType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
SessionBeanType<T> |
ejbName(String ejbName)
Sets the
ejb-name element |
List<AnnotationType<SessionBeanType<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<SessionBeanType<T>>> |
getAllEjbLocalRef()
Returns all
ejb-local-ref elements |
List<EjbRefType<SessionBeanType<T>>> |
getAllEjbRef()
Returns all
ejb-ref elements |
List<EnvEntryType<SessionBeanType<T>>> |
getAllEnvEntry()
Returns all
env-entry elements |
List<IconType<SessionBeanType<T>>> |
getAllIcon()
Returns all
icon elements |
List<JndiRefType<SessionBeanType<T>>> |
getAllJndiRef()
Returns all
jndi-ref elements |
List<LocalBindingType<SessionBeanType<T>>> |
getAllLocalBinding()
Returns all
local-binding elements |
List<MessageDestinationRefType<SessionBeanType<T>>> |
getAllMessageDestinationRef()
Returns all
message-destination-ref elements |
List<PersistenceContextRefType<SessionBeanType<T>>> |
getAllPersistenceContextRef()
Returns all
persistence-context-ref elements |
List<PersistenceUnitRefType<SessionBeanType<T>>> |
getAllPersistenceUnitRef()
Returns all
persistence-unit-ref elements |
List<LifecycleCallbackType<SessionBeanType<T>>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<SessionBeanType<T>>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<RemoteBindingType<SessionBeanType<T>>> |
getAllRemoteBinding()
Returns all
remote-binding elements |
List<ResourceEnvRefType<SessionBeanType<T>>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<SessionBeanType<T>>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<ServiceRefType<SessionBeanType<T>>> |
getAllServiceRef()
Returns all
service-ref elements |
String |
getAopDomainName()
Returns the
aop-domain-name element |
String |
getEjbName()
Returns the
ejb-name element |
String |
getHomeJndiName()
Returns the
home-jndi-name element |
String |
getJndiBindingPolicy()
Returns the
jndi-binding-policy element |
String |
getJndiName()
Returns the
jndi-name element |
String |
getLocalHomeJndiName()
Returns the
local-home-jndi-name element |
String |
getLocalJndiName()
Returns the
local-jndi-name element |
String |
getMappedName()
Returns the
mapped-name element |
AnnotationType<SessionBeanType<T>> |
getOrCreateAnnotation()
If not already created, a new
annotation element will be created and returned. |
CacheConfigType<SessionBeanType<T>> |
getOrCreateCacheConfig()
If not already created, a new
cache-config element with the given value will be created. |
ClusterConfigType<SessionBeanType<T>> |
getOrCreateClusterConfig()
If not already created, a new
cluster-config element with the given value will be created. |
EjbLocalRefType<SessionBeanType<T>> |
getOrCreateEjbLocalRef()
If not already created, a new
ejb-local-ref element will be created and returned. |
EjbRefType<SessionBeanType<T>> |
getOrCreateEjbRef()
If not already created, a new
ejb-ref element will be created and returned. |
SecurityIdentityType<SessionBeanType<T>> |
getOrCreateEjbTimeoutIdentity()
If not already created, a new
ejb-timeout-identity element with the given value will be created. |
EnvEntryType<SessionBeanType<T>> |
getOrCreateEnvEntry()
If not already created, a new
env-entry element will be created and returned. |
IconType<SessionBeanType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
IgnoreDependencyType<SessionBeanType<T>> |
getOrCreateIgnoreDependency()
If not already created, a new
ignore-dependency element with the given value will be created. |
JndiRefType<SessionBeanType<T>> |
getOrCreateJndiRef()
If not already created, a new
jndi-ref element will be created and returned. |
LocalBindingType<SessionBeanType<T>> |
getOrCreateLocalBinding()
If not already created, a new
local-binding element will be created and returned. |
MessageDestinationRefType<SessionBeanType<T>> |
getOrCreateMessageDestinationRef()
If not already created, a new
message-destination-ref element will be created and returned. |
MethodAttributesType<SessionBeanType<T>> |
getOrCreateMethodAttributes()
If not already created, a new
method-attributes element with the given value will be created. |
PersistenceContextRefType<SessionBeanType<T>> |
getOrCreatePersistenceContextRef()
If not already created, a new
persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<SessionBeanType<T>> |
getOrCreatePersistenceUnitRef()
If not already created, a new
persistence-unit-ref element will be created and returned. |
PoolConfigType<SessionBeanType<T>> |
getOrCreatePoolConfig()
If not already created, a new
pool-config element with the given value will be created. |
PortComponentType<SessionBeanType<T>> |
getOrCreatePortComponent()
If not already created, a new
port-component element with the given value will be created. |
LifecycleCallbackType<SessionBeanType<T>> |
getOrCreatePostConstruct()
If not already created, a new
post-construct element will be created and returned. |
LifecycleCallbackType<SessionBeanType<T>> |
getOrCreatePreDestroy()
If not already created, a new
pre-destroy element will be created and returned. |
RemoteBindingType<SessionBeanType<T>> |
getOrCreateRemoteBinding()
If not already created, a new
remote-binding element will be created and returned. |
ResourceEnvRefType<SessionBeanType<T>> |
getOrCreateResourceEnvRef()
If not already created, a new
resource-env-ref element will be created and returned. |
ResourceRefType<SessionBeanType<T>> |
getOrCreateResourceRef()
If not already created, a new
resource-ref element will be created and returned. |
SecurityIdentityType<SessionBeanType<T>> |
getOrCreateSecurityIdentity()
If not already created, a new
security-identity element with the given value will be created. |
ServiceRefType<SessionBeanType<T>> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
String |
getSecurityDomain()
Returns the
security-domain element |
SessionBeanType<T> |
homeJndiName(String homeJndiName)
Sets the
home-jndi-name element |
Boolean |
isClustered()
Returns the
clustered element |
Boolean |
isConcurrent()
Returns the
concurrent element |
SessionBeanType<T> |
jndiBindingPolicy(String jndiBindingPolicy)
Sets the
jndi-binding-policy element |
SessionBeanType<T> |
jndiName(String jndiName)
Sets the
jndi-name element |
SessionBeanType<T> |
localHomeJndiName(String localHomeJndiName)
Sets the
local-home-jndi-name element |
SessionBeanType<T> |
localJndiName(String localJndiName)
Sets the
local-jndi-name element |
SessionBeanType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
SessionBeanType<T> |
removeAllAnnotation()
Removes all
annotation elements |
SessionBeanType<T> |
removeAllBusinessLocal()
Removes the
business-local element |
SessionBeanType<T> |
removeAllBusinessRemote()
Removes the
business-remote element |
SessionBeanType<T> |
removeAllDepends()
Removes the
depends element |
SessionBeanType<T> |
removeAllDescription()
Removes the
description element |
SessionBeanType<T> |
removeAllDisplayName()
Removes the
display-name element |
SessionBeanType<T> |
removeAllEjbLocalRef()
Removes all
ejb-local-ref elements |
SessionBeanType<T> |
removeAllEjbRef()
Removes all
ejb-ref elements |
SessionBeanType<T> |
removeAllEnvEntry()
Removes all
env-entry elements |
SessionBeanType<T> |
removeAllIcon()
Removes all
icon elements |
SessionBeanType<T> |
removeAllJndiRef()
Removes all
jndi-ref elements |
SessionBeanType<T> |
removeAllLocalBinding()
Removes all
local-binding elements |
SessionBeanType<T> |
removeAllMessageDestinationRef()
Removes all
message-destination-ref elements |
SessionBeanType<T> |
removeAllPersistenceContextRef()
Removes all
persistence-context-ref elements |
SessionBeanType<T> |
removeAllPersistenceUnitRef()
Removes all
persistence-unit-ref elements |
SessionBeanType<T> |
removeAllPostConstruct()
Removes all
post-construct elements |
SessionBeanType<T> |
removeAllPreDestroy()
Removes all
pre-destroy elements |
SessionBeanType<T> |
removeAllRemoteBinding()
Removes all
remote-binding elements |
SessionBeanType<T> |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
SessionBeanType<T> |
removeAllResourceRef()
Removes all
resource-ref elements |
SessionBeanType<T> |
removeAllServiceRef()
Removes all
service-ref elements |
SessionBeanType<T> |
removeAopDomainName()
Removes the
aop-domain-name element |
SessionBeanType<T> |
removeCacheConfig()
Removes the
cache-config element |
SessionBeanType<T> |
removeClusterConfig()
Removes the
cluster-config element |
SessionBeanType<T> |
removeClustered()
Removes the
clustered element |
SessionBeanType<T> |
removeConcurrent()
Removes the
concurrent element |
SessionBeanType<T> |
removeEjbName()
Removes the
ejb-name element |
SessionBeanType<T> |
removeEjbTimeoutIdentity()
Removes the
ejb-timeout-identity element |
SessionBeanType<T> |
removeHomeJndiName()
Removes the
home-jndi-name element |
SessionBeanType<T> |
removeIgnoreDependency()
Removes the
ignore-dependency element |
SessionBeanType<T> |
removeJndiBindingPolicy()
Removes the
jndi-binding-policy element |
SessionBeanType<T> |
removeJndiName()
Removes the
jndi-name element |
SessionBeanType<T> |
removeLocalHomeJndiName()
Removes the
local-home-jndi-name element |
SessionBeanType<T> |
removeLocalJndiName()
Removes the
local-jndi-name element |
SessionBeanType<T> |
removeMappedName()
Removes the
mapped-name element |
SessionBeanType<T> |
removeMethodAttributes()
Removes the
method-attributes element |
SessionBeanType<T> |
removePoolConfig()
Removes the
pool-config element |
SessionBeanType<T> |
removePortComponent()
Removes the
port-component element |
SessionBeanType<T> |
removeSecurityDomain()
Removes the
security-domain element |
SessionBeanType<T> |
removeSecurityIdentity()
Removes the
security-identity element |
SessionBeanType<T> |
securityDomain(String securityDomain)
Sets the
security-domain element |
SessionBeanType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsSessionBeanType
List<String> getAllDescription()
description
elementsdescription
SessionBeanType<T> removeAllDescription()
description
elementSessionBeanType
SessionBeanType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsSessionBeanType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
SessionBeanType<T> removeAllDisplayName()
display-name
elementSessionBeanType
IconType<SessionBeanType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<SessionBeanType<T>> createIcon()
icon
elementIconType>
List<IconType<SessionBeanType<T>>> getAllIcon()
icon
elementsicon
SessionBeanType<T> removeAllIcon()
icon
elementsIconType>
EnvEntryType<SessionBeanType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.env-entry
EnvEntryType<SessionBeanType<T>> createEnvEntry()
env-entry
elementEnvEntryType>
List<EnvEntryType<SessionBeanType<T>>> getAllEnvEntry()
env-entry
elementsenv-entry
SessionBeanType<T> removeAllEnvEntry()
env-entry
elementsEnvEntryType>
EjbRefType<SessionBeanType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.ejb-ref
EjbRefType<SessionBeanType<T>> createEjbRef()
ejb-ref
elementEjbRefType>
List<EjbRefType<SessionBeanType<T>>> getAllEjbRef()
ejb-ref
elementsejb-ref
SessionBeanType<T> removeAllEjbRef()
ejb-ref
elementsEjbRefType>
EjbLocalRefType<SessionBeanType<T>> getOrCreateEjbLocalRef()
ejb-local-ref
element will be created and returned.
Otherwise, the first existing ejb-local-ref
element will be returned.ejb-local-ref
EjbLocalRefType<SessionBeanType<T>> createEjbLocalRef()
ejb-local-ref
elementEjbLocalRefType>
List<EjbLocalRefType<SessionBeanType<T>>> getAllEjbLocalRef()
ejb-local-ref
elementsejb-local-ref
SessionBeanType<T> removeAllEjbLocalRef()
ejb-local-ref
elementsEjbLocalRefType>
ResourceRefType<SessionBeanType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.resource-ref
ResourceRefType<SessionBeanType<T>> createResourceRef()
resource-ref
elementResourceRefType>
List<ResourceRefType<SessionBeanType<T>>> getAllResourceRef()
resource-ref
elementsresource-ref
SessionBeanType<T> removeAllResourceRef()
resource-ref
elementsResourceRefType>
ResourceEnvRefType<SessionBeanType<T>> getOrCreateResourceEnvRef()
resource-env-ref
element will be created and returned.
Otherwise, the first existing resource-env-ref
element will be returned.resource-env-ref
ResourceEnvRefType<SessionBeanType<T>> createResourceEnvRef()
resource-env-ref
elementResourceEnvRefType>
List<ResourceEnvRefType<SessionBeanType<T>>> getAllResourceEnvRef()
resource-env-ref
elementsresource-env-ref
SessionBeanType<T> removeAllResourceEnvRef()
resource-env-ref
elementsResourceEnvRefType>
MessageDestinationRefType<SessionBeanType<T>> getOrCreateMessageDestinationRef()
message-destination-ref
element will be created and returned.
Otherwise, the first existing message-destination-ref
element will be returned.message-destination-ref
MessageDestinationRefType<SessionBeanType<T>> createMessageDestinationRef()
message-destination-ref
elementMessageDestinationRefType>
List<MessageDestinationRefType<SessionBeanType<T>>> getAllMessageDestinationRef()
message-destination-ref
elementsmessage-destination-ref
SessionBeanType<T> removeAllMessageDestinationRef()
message-destination-ref
elementsMessageDestinationRefType>
PersistenceContextRefType<SessionBeanType<T>> getOrCreatePersistenceContextRef()
persistence-context-ref
element will be created and returned.
Otherwise, the first existing persistence-context-ref
element will be returned.persistence-context-ref
PersistenceContextRefType<SessionBeanType<T>> createPersistenceContextRef()
persistence-context-ref
elementPersistenceContextRefType>
List<PersistenceContextRefType<SessionBeanType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elementspersistence-context-ref
SessionBeanType<T> removeAllPersistenceContextRef()
persistence-context-ref
elementsPersistenceContextRefType>
PersistenceUnitRefType<SessionBeanType<T>> getOrCreatePersistenceUnitRef()
persistence-unit-ref
element will be created and returned.
Otherwise, the first existing persistence-unit-ref
element will be returned.persistence-unit-ref
PersistenceUnitRefType<SessionBeanType<T>> createPersistenceUnitRef()
persistence-unit-ref
elementPersistenceUnitRefType>
List<PersistenceUnitRefType<SessionBeanType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elementspersistence-unit-ref
SessionBeanType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elementsPersistenceUnitRefType>
LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.post-construct
LifecycleCallbackType<SessionBeanType<T>> createPostConstruct()
post-construct
elementLifecycleCallbackType>
List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostConstruct()
post-construct
elementspost-construct
SessionBeanType<T> removeAllPostConstruct()
post-construct
elementsLifecycleCallbackType>
LifecycleCallbackType<SessionBeanType<T>> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.pre-destroy
LifecycleCallbackType<SessionBeanType<T>> createPreDestroy()
pre-destroy
elementLifecycleCallbackType>
List<LifecycleCallbackType<SessionBeanType<T>>> getAllPreDestroy()
pre-destroy
elementspre-destroy
SessionBeanType<T> removeAllPreDestroy()
pre-destroy
elementsLifecycleCallbackType>
ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.service-ref
ServiceRefType<SessionBeanType<T>> createServiceRef()
service-ref
elementServiceRefType>
List<ServiceRefType<SessionBeanType<T>>> getAllServiceRef()
service-ref
elementsservice-ref
SessionBeanType<T> removeAllServiceRef()
service-ref
elementsServiceRefType>
SessionBeanType<T> ejbName(String ejbName)
ejb-name
elementejbName
- the value for the element ejb-name
SessionBeanType
String getEjbName()
ejb-name
elementejb-name
SessionBeanType<T> removeEjbName()
ejb-name
elementSessionBeanType
SessionBeanType<T> mappedName(String mappedName)
mapped-name
elementmappedName
- the value for the element mapped-name
SessionBeanType
String getMappedName()
mapped-name
elementmapped-name
SessionBeanType<T> removeMappedName()
mapped-name
elementSessionBeanType
SecurityIdentityType<SessionBeanType<T>> getOrCreateSecurityIdentity()
security-identity
element with the given value will be created.
Otherwise, the existing security-identity
element will be returned.SecurityIdentityType>
SessionBeanType<T> removeSecurityIdentity()
security-identity
elementSessionBeanType
LocalBindingType<SessionBeanType<T>> getOrCreateLocalBinding()
local-binding
element will be created and returned.
Otherwise, the first existing local-binding
element will be returned.local-binding
LocalBindingType<SessionBeanType<T>> createLocalBinding()
local-binding
elementLocalBindingType>
List<LocalBindingType<SessionBeanType<T>>> getAllLocalBinding()
local-binding
elementslocal-binding
SessionBeanType<T> removeAllLocalBinding()
local-binding
elementsLocalBindingType>
RemoteBindingType<SessionBeanType<T>> getOrCreateRemoteBinding()
remote-binding
element will be created and returned.
Otherwise, the first existing remote-binding
element will be returned.remote-binding
RemoteBindingType<SessionBeanType<T>> createRemoteBinding()
remote-binding
elementRemoteBindingType>
List<RemoteBindingType<SessionBeanType<T>>> getAllRemoteBinding()
remote-binding
elementsremote-binding
SessionBeanType<T> removeAllRemoteBinding()
remote-binding
elementsRemoteBindingType>
SessionBeanType<T> businessLocal(String... values)
business-local
elements,
a new business-local
elementvalues
- list of business-local
objectsSessionBeanType
List<String> getAllBusinessLocal()
business-local
elementsbusiness-local
SessionBeanType<T> removeAllBusinessLocal()
business-local
elementSessionBeanType
SessionBeanType<T> businessRemote(String... values)
business-remote
elements,
a new business-remote
elementvalues
- list of business-remote
objectsSessionBeanType
List<String> getAllBusinessRemote()
business-remote
elementsbusiness-remote
SessionBeanType<T> removeAllBusinessRemote()
business-remote
elementSessionBeanType
SessionBeanType<T> jndiName(String jndiName)
jndi-name
elementjndiName
- the value for the element jndi-name
SessionBeanType
String getJndiName()
jndi-name
elementjndi-name
SessionBeanType<T> removeJndiName()
jndi-name
elementSessionBeanType
SessionBeanType<T> homeJndiName(String homeJndiName)
home-jndi-name
elementhomeJndiName
- the value for the element home-jndi-name
SessionBeanType
String getHomeJndiName()
home-jndi-name
elementhome-jndi-name
SessionBeanType<T> removeHomeJndiName()
home-jndi-name
elementSessionBeanType
SessionBeanType<T> localJndiName(String localJndiName)
local-jndi-name
elementlocalJndiName
- the value for the element local-jndi-name
SessionBeanType
String getLocalJndiName()
local-jndi-name
elementlocal-jndi-name
SessionBeanType<T> removeLocalJndiName()
local-jndi-name
elementSessionBeanType
SessionBeanType<T> localHomeJndiName(String localHomeJndiName)
local-home-jndi-name
elementlocalHomeJndiName
- the value for the element local-home-jndi-name
SessionBeanType
String getLocalHomeJndiName()
local-home-jndi-name
elementlocal-home-jndi-name
SessionBeanType<T> removeLocalHomeJndiName()
local-home-jndi-name
elementSessionBeanType
SessionBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
jndi-binding-policy
elementjndiBindingPolicy
- the value for the element jndi-binding-policy
SessionBeanType
String getJndiBindingPolicy()
jndi-binding-policy
elementjndi-binding-policy
SessionBeanType<T> removeJndiBindingPolicy()
jndi-binding-policy
elementSessionBeanType
SessionBeanType<T> clustered(Boolean clustered)
clustered
elementclustered
- the value for the element clustered
SessionBeanType
Boolean isClustered()
clustered
elementclustered
SessionBeanType<T> removeClustered()
clustered
elementSessionBeanType
ClusterConfigType<SessionBeanType<T>> getOrCreateClusterConfig()
cluster-config
element with the given value will be created.
Otherwise, the existing cluster-config
element will be returned.ClusterConfigType>
SessionBeanType<T> removeClusterConfig()
cluster-config
elementSessionBeanType
SessionBeanType<T> securityDomain(String securityDomain)
security-domain
elementsecurityDomain
- the value for the element security-domain
SessionBeanType
String getSecurityDomain()
security-domain
elementsecurity-domain
SessionBeanType<T> removeSecurityDomain()
security-domain
elementSessionBeanType
MethodAttributesType<SessionBeanType<T>> getOrCreateMethodAttributes()
method-attributes
element with the given value will be created.
Otherwise, the existing method-attributes
element will be returned.MethodAttributesType>
SessionBeanType<T> removeMethodAttributes()
method-attributes
elementSessionBeanType
SessionBeanType<T> depends(String... values)
depends
elements,
a new depends
elementvalues
- list of depends
objectsSessionBeanType
SessionBeanType<T> removeAllDepends()
depends
elementSessionBeanType
AnnotationType<SessionBeanType<T>> getOrCreateAnnotation()
annotation
element will be created and returned.
Otherwise, the first existing annotation
element will be returned.annotation
AnnotationType<SessionBeanType<T>> createAnnotation()
annotation
elementAnnotationType>
List<AnnotationType<SessionBeanType<T>>> getAllAnnotation()
annotation
elementsannotation
SessionBeanType<T> removeAllAnnotation()
annotation
elementsAnnotationType>
IgnoreDependencyType<SessionBeanType<T>> getOrCreateIgnoreDependency()
ignore-dependency
element with the given value will be created.
Otherwise, the existing ignore-dependency
element will be returned.IgnoreDependencyType>
SessionBeanType<T> removeIgnoreDependency()
ignore-dependency
elementSessionBeanType
SessionBeanType<T> aopDomainName(String aopDomainName)
aop-domain-name
elementaopDomainName
- the value for the element aop-domain-name
SessionBeanType
String getAopDomainName()
aop-domain-name
elementaop-domain-name
SessionBeanType<T> removeAopDomainName()
aop-domain-name
elementSessionBeanType
CacheConfigType<SessionBeanType<T>> getOrCreateCacheConfig()
cache-config
element with the given value will be created.
Otherwise, the existing cache-config
element will be returned.CacheConfigType>
SessionBeanType<T> removeCacheConfig()
cache-config
elementSessionBeanType
PoolConfigType<SessionBeanType<T>> getOrCreatePoolConfig()
pool-config
element with the given value will be created.
Otherwise, the existing pool-config
element will be returned.PoolConfigType>
SessionBeanType<T> removePoolConfig()
pool-config
elementSessionBeanType
SessionBeanType<T> concurrent(Boolean concurrent)
concurrent
elementconcurrent
- the value for the element concurrent
SessionBeanType
Boolean isConcurrent()
concurrent
elementconcurrent
SessionBeanType<T> removeConcurrent()
concurrent
elementSessionBeanType
JndiRefType<SessionBeanType<T>> getOrCreateJndiRef()
jndi-ref
element will be created and returned.
Otherwise, the first existing jndi-ref
element will be returned.jndi-ref
JndiRefType<SessionBeanType<T>> createJndiRef()
jndi-ref
elementJndiRefType>
List<JndiRefType<SessionBeanType<T>>> getAllJndiRef()
jndi-ref
elementsjndi-ref
SessionBeanType<T> removeAllJndiRef()
jndi-ref
elementsJndiRefType>
PortComponentType<SessionBeanType<T>> getOrCreatePortComponent()
port-component
element with the given value will be created.
Otherwise, the existing port-component
element will be returned.PortComponentType>
SessionBeanType<T> removePortComponent()
port-component
elementSessionBeanType
SecurityIdentityType<SessionBeanType<T>> getOrCreateEjbTimeoutIdentity()
ejb-timeout-identity
element with the given value will be created.
Otherwise, the existing ejb-timeout-identity
element will be returned.SecurityIdentityType>
SessionBeanType<T> removeEjbTimeoutIdentity()
ejb-timeout-identity
elementSessionBeanType
Copyright © 2017 JBoss by Red Hat. All rights reserved.