public interface SessionBeanType<T> extends Child<T>
session-beanType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
AroundInvokeType<SessionBeanType<T>> |
createAroundInvoke()
Creates a new
around-invoke 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 |
InitMethodType<SessionBeanType<T>> |
createInitMethod()
Creates a new
init-method 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>> |
createPostActivate()
Creates a new
post-activate element |
LifecycleCallbackType<SessionBeanType<T>> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<SessionBeanType<T>> |
createPreDestroy()
Creates a new
pre-destroy element |
LifecycleCallbackType<SessionBeanType<T>> |
createPrePassivate()
Creates a new
pre-passivate element |
RemoveMethodType<SessionBeanType<T>> |
createRemoveMethod()
Creates a new
remove-method element |
ResourceEnvRefType<SessionBeanType<T>> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<SessionBeanType<T>> |
createResourceRef()
Creates a new
resource-ref element |
SecurityRoleRefType<SessionBeanType<T>> |
createSecurityRoleRef()
Creates a new
security-role-ref element |
ServiceRefType<SessionBeanType<T>> |
createServiceRef()
Creates a new
service-ref 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> |
ejbClass(String ejbClass)
Sets the
ejb-class element |
SessionBeanType<T> |
ejbName(String ejbName)
Sets the
ejb-name element |
List<AroundInvokeType<SessionBeanType<T>>> |
getAllAroundInvoke()
Returns all
around-invoke elements |
List<String> |
getAllBusinessLocal()
Returns all
business-local elements |
List<String> |
getAllBusinessRemote()
Returns all
business-remote 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<InitMethodType<SessionBeanType<T>>> |
getAllInitMethod()
Returns all
init-method 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>>> |
getAllPostActivate()
Returns all
post-activate elements |
List<LifecycleCallbackType<SessionBeanType<T>>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<SessionBeanType<T>>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<LifecycleCallbackType<SessionBeanType<T>>> |
getAllPrePassivate()
Returns all
pre-passivate elements |
List<RemoveMethodType<SessionBeanType<T>>> |
getAllRemoveMethod()
Returns all
remove-method elements |
List<ResourceEnvRefType<SessionBeanType<T>>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<SessionBeanType<T>>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<SecurityRoleRefType<SessionBeanType<T>>> |
getAllSecurityRoleRef()
Returns all
security-role-ref elements |
List<ServiceRefType<SessionBeanType<T>>> |
getAllServiceRef()
Returns all
service-ref elements |
String |
getEjbClass()
Returns the
ejb-class element |
String |
getEjbName()
Returns the
ejb-name element |
String |
getHome()
Returns the
home element |
String |
getLocal()
Returns the
local element |
String |
getLocalHome()
Returns the
local-home element |
String |
getMappedName()
Returns the
mapped-name element |
AroundInvokeType<SessionBeanType<T>> |
getOrCreateAroundInvoke()
If not already created, a new
around-invoke element will be created and returned. |
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. |
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. |
InitMethodType<SessionBeanType<T>> |
getOrCreateInitMethod()
If not already created, a new
init-method 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. |
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. |
LifecycleCallbackType<SessionBeanType<T>> |
getOrCreatePostActivate()
If not already created, a new
post-activate element will be created and returned. |
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. |
LifecycleCallbackType<SessionBeanType<T>> |
getOrCreatePrePassivate()
If not already created, a new
pre-passivate element will be created and returned. |
RemoveMethodType<SessionBeanType<T>> |
getOrCreateRemoveMethod()
If not already created, a new
remove-method 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. |
SecurityRoleRefType<SessionBeanType<T>> |
getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
ServiceRefType<SessionBeanType<T>> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
NamedMethodType<SessionBeanType<T>> |
getOrCreateTimeoutMethod()
If not already created, a new
timeout-method element with the given value will be created. |
String |
getRemote()
Returns the
remote element |
String |
getServiceEndpoint()
Returns the
service-endpoint element |
SessionTypeType |
getSessionType()
Returns the
session-type element |
String |
getSessionTypeAsString()
Returns the
session-type element |
TransactionTypeType |
getTransactionType()
Returns the
transaction-type element |
String |
getTransactionTypeAsString()
Returns the
transaction-type element |
SessionBeanType<T> |
home(String home)
Sets the
home element |
SessionBeanType<T> |
local(String local)
Sets the
local element |
SessionBeanType<T> |
localHome(String localHome)
Sets the
local-home element |
SessionBeanType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
SessionBeanType<T> |
remote(String remote)
Sets the
remote element |
SessionBeanType<T> |
removeAllAroundInvoke()
Removes all
around-invoke elements |
SessionBeanType<T> |
removeAllBusinessLocal()
Removes the
business-local element |
SessionBeanType<T> |
removeAllBusinessRemote()
Removes the
business-remote 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> |
removeAllInitMethod()
Removes all
init-method 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> |
removeAllPostActivate()
Removes all
post-activate elements |
SessionBeanType<T> |
removeAllPostConstruct()
Removes all
post-construct elements |
SessionBeanType<T> |
removeAllPreDestroy()
Removes all
pre-destroy elements |
SessionBeanType<T> |
removeAllPrePassivate()
Removes all
pre-passivate elements |
SessionBeanType<T> |
removeAllRemoveMethod()
Removes all
remove-method elements |
SessionBeanType<T> |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
SessionBeanType<T> |
removeAllResourceRef()
Removes all
resource-ref elements |
SessionBeanType<T> |
removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
SessionBeanType<T> |
removeAllServiceRef()
Removes all
service-ref elements |
SessionBeanType<T> |
removeEjbClass()
Removes the
ejb-class element |
SessionBeanType<T> |
removeEjbName()
Removes the
ejb-name element |
SessionBeanType<T> |
removeHome()
Removes the
home element |
SessionBeanType<T> |
removeLocal()
Removes the
local element |
SessionBeanType<T> |
removeLocalHome()
Removes the
local-home element |
SessionBeanType<T> |
removeMappedName()
Removes the
mapped-name element |
SessionBeanType<T> |
removeRemote()
Removes the
remote element |
SessionBeanType<T> |
removeSecurityIdentity()
Removes the
security-identity element |
SessionBeanType<T> |
removeServiceEndpoint()
Removes the
service-endpoint element |
SessionBeanType<T> |
removeSessionType()
Removes the
session-type attribute |
SessionBeanType<T> |
removeTimeoutMethod()
Removes the
timeout-method element |
SessionBeanType<T> |
removeTransactionType()
Removes the
transaction-type attribute |
SessionBeanType<T> |
serviceEndpoint(String serviceEndpoint)
Sets the
service-endpoint element |
SessionBeanType<T> |
sessionType(SessionTypeType sessionType)
Sets the
session-type element |
SessionBeanType<T> |
sessionType(String sessionType)
Sets the
session-type element |
SessionBeanType<T> |
transactionType(String transactionType)
Sets the
transaction-type element |
SessionBeanType<T> |
transactionType(TransactionTypeType transactionType)
Sets the
transaction-type 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
SessionBeanType<T> home(String home)
home
elementhome
- the value for the element home
SessionBeanType
String getHome()
home
elementhome
SessionBeanType<T> removeHome()
home
elementSessionBeanType
SessionBeanType<T> remote(String remote)
remote
elementremote
- the value for the element remote
SessionBeanType
String getRemote()
remote
elementremote
SessionBeanType<T> removeRemote()
remote
elementSessionBeanType
SessionBeanType<T> localHome(String localHome)
local-home
elementlocalHome
- the value for the element local-home
SessionBeanType
String getLocalHome()
local-home
elementlocal-home
SessionBeanType<T> removeLocalHome()
local-home
elementSessionBeanType
SessionBeanType<T> local(String local)
local
elementlocal
- the value for the element local
SessionBeanType
String getLocal()
local
elementlocal
SessionBeanType<T> removeLocal()
local
elementSessionBeanType
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> serviceEndpoint(String serviceEndpoint)
service-endpoint
elementserviceEndpoint
- the value for the element service-endpoint
SessionBeanType
String getServiceEndpoint()
service-endpoint
elementservice-endpoint
SessionBeanType<T> removeServiceEndpoint()
service-endpoint
elementSessionBeanType
SessionBeanType<T> ejbClass(String ejbClass)
ejb-class
elementejbClass
- the value for the element ejb-class
SessionBeanType
String getEjbClass()
ejb-class
elementejb-class
SessionBeanType<T> removeEjbClass()
ejb-class
elementSessionBeanType
SessionBeanType<T> sessionType(SessionTypeType sessionType)
session-type
elementsessionType
- the value for the element session-type
SessionBeanType
SessionBeanType<T> sessionType(String sessionType)
session-type
elementsessionType
- the value for the element session-type
SessionBeanType
SessionTypeType getSessionType()
session-type
elementsession-type
String getSessionTypeAsString()
session-type
elementsession-type
SessionBeanType<T> removeSessionType()
session-type
attributeSessionBeanType
NamedMethodType<SessionBeanType<T>> getOrCreateTimeoutMethod()
timeout-method
element with the given value will be created.
Otherwise, the existing timeout-method
element will be returned.NamedMethodType>
SessionBeanType<T> removeTimeoutMethod()
timeout-method
elementSessionBeanType
InitMethodType<SessionBeanType<T>> getOrCreateInitMethod()
init-method
element will be created and returned.
Otherwise, the first existing init-method
element will be returned.init-method
InitMethodType<SessionBeanType<T>> createInitMethod()
init-method
elementInitMethodType>
List<InitMethodType<SessionBeanType<T>>> getAllInitMethod()
init-method
elementsinit-method
SessionBeanType<T> removeAllInitMethod()
init-method
elementsInitMethodType>
RemoveMethodType<SessionBeanType<T>> getOrCreateRemoveMethod()
remove-method
element will be created and returned.
Otherwise, the first existing remove-method
element will be returned.remove-method
RemoveMethodType<SessionBeanType<T>> createRemoveMethod()
remove-method
elementRemoveMethodType>
List<RemoveMethodType<SessionBeanType<T>>> getAllRemoveMethod()
remove-method
elementsremove-method
SessionBeanType<T> removeAllRemoveMethod()
remove-method
elementsRemoveMethodType>
SessionBeanType<T> transactionType(TransactionTypeType transactionType)
transaction-type
elementtransactionType
- the value for the element transaction-type
SessionBeanType
SessionBeanType<T> transactionType(String transactionType)
transaction-type
elementtransactionType
- the value for the element transaction-type
SessionBeanType
TransactionTypeType getTransactionType()
transaction-type
elementtransaction-type
String getTransactionTypeAsString()
transaction-type
elementtransaction-type
SessionBeanType<T> removeTransactionType()
transaction-type
attributeSessionBeanType
AroundInvokeType<SessionBeanType<T>> getOrCreateAroundInvoke()
around-invoke
element will be created and returned.
Otherwise, the first existing around-invoke
element will be returned.around-invoke
AroundInvokeType<SessionBeanType<T>> createAroundInvoke()
around-invoke
elementAroundInvokeType>
List<AroundInvokeType<SessionBeanType<T>>> getAllAroundInvoke()
around-invoke
elementsaround-invoke
SessionBeanType<T> removeAllAroundInvoke()
around-invoke
elementsAroundInvokeType>
LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostActivate()
post-activate
element will be created and returned.
Otherwise, the first existing post-activate
element will be returned.post-activate
LifecycleCallbackType<SessionBeanType<T>> createPostActivate()
post-activate
elementLifecycleCallbackType>
List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostActivate()
post-activate
elementspost-activate
SessionBeanType<T> removeAllPostActivate()
post-activate
elementsLifecycleCallbackType>
LifecycleCallbackType<SessionBeanType<T>> getOrCreatePrePassivate()
pre-passivate
element will be created and returned.
Otherwise, the first existing pre-passivate
element will be returned.pre-passivate
LifecycleCallbackType<SessionBeanType<T>> createPrePassivate()
pre-passivate
elementLifecycleCallbackType>
List<LifecycleCallbackType<SessionBeanType<T>>> getAllPrePassivate()
pre-passivate
elementspre-passivate
SessionBeanType<T> removeAllPrePassivate()
pre-passivate
elementsLifecycleCallbackType>
SecurityRoleRefType<SessionBeanType<T>> getOrCreateSecurityRoleRef()
security-role-ref
element will be created and returned.
Otherwise, the first existing security-role-ref
element will be returned.security-role-ref
SecurityRoleRefType<SessionBeanType<T>> createSecurityRoleRef()
security-role-ref
elementSecurityRoleRefType>
List<SecurityRoleRefType<SessionBeanType<T>>> getAllSecurityRoleRef()
security-role-ref
elementssecurity-role-ref
SessionBeanType<T> removeAllSecurityRoleRef()
security-role-ref
elementsSecurityRoleRefType>
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
Copyright © 2017 JBoss by Red Hat. All rights reserved.