
public interface SessionBeanType<T> extends Child<T>, JavaeeSessionBeanCommonType<T,SessionBeanType<T>,NamedMethodType<SessionBeanType<T>>,InitMethodType<SessionBeanType<T>>,RemoveMethodType<SessionBeanType<T>>,AroundInvokeType<SessionBeanType<T>>,LifecycleCallbackType<SessionBeanType<T>>,LifecycleCallbackType<SessionBeanType<T>>,SecurityRoleRefType<SessionBeanType<T>>,SecurityIdentityType<SessionBeanType<T>>>
session-beanType xsd type| Modifier 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 |
SessionBeanType<T> |
concurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)
Sets the
concurrency-management-type element |
SessionBeanType<T> |
concurrencyManagementType(String concurrencyManagementType)
Sets the
concurrency-management-type element |
AdministeredObjectType<SessionBeanType<T>> |
createAdministeredObject()
Creates a new
administered-object element |
AroundInvokeType<SessionBeanType<T>> |
createAroundInvoke()
Creates a new
around-invoke element |
AroundTimeoutType<SessionBeanType<T>> |
createAroundTimeout()
Creates a new
around-timeout element |
AsyncMethodType<SessionBeanType<T>> |
createAsyncMethod()
Creates a new
async-method element |
ConcurrentMethodType<SessionBeanType<T>> |
createConcurrentMethod()
Creates a new
concurrent-method element |
ConnectionFactoryResourceType<SessionBeanType<T>> |
createConnectionFactory()
Creates a new
connection-factory element |
DataSourceType<SessionBeanType<T>> |
createDataSource()
Creates a new
data-source 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 |
JmsConnectionFactoryType<SessionBeanType<T>> |
createJmsConnectionFactory()
Creates a new
jms-connection-factory element |
JmsDestinationType<SessionBeanType<T>> |
createJmsDestination()
Creates a new
jms-destination element |
MailSessionType<SessionBeanType<T>> |
createMailSession()
Creates a new
mail-session 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 |
TimerType<SessionBeanType<T>> |
createTimer()
Creates a new
timer 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<AdministeredObjectType<SessionBeanType<T>>> |
getAllAdministeredObject()
Returns all
administered-object elements |
List<AroundInvokeType<SessionBeanType<T>>> |
getAllAroundInvoke()
Returns all
around-invoke elements |
List<AroundTimeoutType<SessionBeanType<T>>> |
getAllAroundTimeout()
Returns all
around-timeout elements |
List<AsyncMethodType<SessionBeanType<T>>> |
getAllAsyncMethod()
Returns all
async-method elements |
List<String> |
getAllBusinessLocal()
Returns all
business-local elements |
List<String> |
getAllBusinessRemote()
Returns all
business-remote elements |
List<ConcurrentMethodType<SessionBeanType<T>>> |
getAllConcurrentMethod()
Returns all
concurrent-method elements |
List<ConnectionFactoryResourceType<SessionBeanType<T>>> |
getAllConnectionFactory()
Returns all
connection-factory elements |
List<DataSourceType<SessionBeanType<T>>> |
getAllDataSource()
Returns all
data-source 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<JmsConnectionFactoryType<SessionBeanType<T>>> |
getAllJmsConnectionFactory()
Returns all
jms-connection-factory elements |
List<JmsDestinationType<SessionBeanType<T>>> |
getAllJmsDestination()
Returns all
jms-destination elements |
List<MailSessionType<SessionBeanType<T>>> |
getAllMailSession()
Returns all
mail-session 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 |
List<TimerType<SessionBeanType<T>>> |
getAllTimer()
Returns all
timer elements |
ConcurrencyManagementTypeType |
getConcurrencyManagementType()
Returns the
concurrency-management-type element |
String |
getConcurrencyManagementTypeAsString()
Returns the
concurrency-management-type element |
String |
getEjbClass()
Returns the
ejb-class element |
String |
getEjbName()
Returns the
ejb-name element |
String |
getHome()
Returns the
home element |
String |
getId()
Returns the
id attribute |
String |
getLocal()
Returns the
local element |
String |
getLocalHome()
Returns the
local-home element |
String |
getMappedName()
Returns the
mapped-name element |
AdministeredObjectType<SessionBeanType<T>> |
getOrCreateAdministeredObject()
If not already created, a new
administered-object element will be created and returned. |
NamedMethodType<SessionBeanType<T>> |
getOrCreateAfterBeginMethod()
If not already created, a new
after-begin-method element with the given value will be created. |
NamedMethodType<SessionBeanType<T>> |
getOrCreateAfterCompletionMethod()
If not already created, a new
after-completion-method element with the given value will be created. |
AroundInvokeType<SessionBeanType<T>> |
getOrCreateAroundInvoke()
If not already created, a new
around-invoke element will be created and returned. |
AroundTimeoutType<SessionBeanType<T>> |
getOrCreateAroundTimeout()
If not already created, a new
around-timeout element will be created and returned. |
AsyncMethodType<SessionBeanType<T>> |
getOrCreateAsyncMethod()
If not already created, a new
async-method element will be created and returned. |
NamedMethodType<SessionBeanType<T>> |
getOrCreateBeforeCompletionMethod()
If not already created, a new
before-completion-method element with the given value will be created. |
ConcurrentMethodType<SessionBeanType<T>> |
getOrCreateConcurrentMethod()
If not already created, a new
concurrent-method element will be created and returned. |
ConnectionFactoryResourceType<SessionBeanType<T>> |
getOrCreateConnectionFactory()
If not already created, a new
connection-factory element will be created and returned. |
DataSourceType<SessionBeanType<T>> |
getOrCreateDataSource()
If not already created, a new
data-source element will be created and returned. |
DependsOnType<SessionBeanType<T>> |
getOrCreateDependsOn()
If not already created, a new
depends-on 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. |
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. |
JmsConnectionFactoryType<SessionBeanType<T>> |
getOrCreateJmsConnectionFactory()
If not already created, a new
jms-connection-factory element will be created and returned. |
JmsDestinationType<SessionBeanType<T>> |
getOrCreateJmsDestination()
If not already created, a new
jms-destination element will be created and returned. |
MailSessionType<SessionBeanType<T>> |
getOrCreateMailSession()
If not already created, a new
mail-session 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. |
StatefulTimeoutType<SessionBeanType<T>> |
getOrCreateStatefulTimeout()
If not already created, a new
stateful-timeout element with the given value will be created. |
NamedMethodType<SessionBeanType<T>> |
getOrCreateTimeoutMethod()
If not already created, a new
timeout-method element with the given value will be created. |
TimerType<SessionBeanType<T>> |
getOrCreateTimer()
If not already created, a new
timer element will be created and returned. |
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> |
id(String id)
Sets the
id attribute |
SessionBeanType<T> |
initOnStartup(Boolean initOnStartup)
Sets the
init-on-startup element |
Boolean |
isInitOnStartup()
Returns the
init-on-startup element |
Boolean |
isLocalBean()
Removes the
local-bean element |
Boolean |
isPassivationCapable()
Returns the
passivation-capable element |
SessionBeanType<T> |
local(String local)
Sets the
local element |
SessionBeanType<T> |
localBean()
Sets the
local-bean element |
SessionBeanType<T> |
localHome(String localHome)
Sets the
local-home element |
SessionBeanType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
SessionBeanType<T> |
passivationCapable(Boolean passivationCapable)
Sets the
passivation-capable element |
SessionBeanType<T> |
remote(String remote)
Sets the
remote element |
SessionBeanType<T> |
removeAfterBeginMethod()
Removes the
after-begin-method element |
SessionBeanType<T> |
removeAfterCompletionMethod()
Removes the
after-completion-method element |
SessionBeanType<T> |
removeAllAdministeredObject()
Removes all
administered-object elements |
SessionBeanType<T> |
removeAllAroundInvoke()
Removes all
around-invoke elements |
SessionBeanType<T> |
removeAllAroundTimeout()
Removes all
around-timeout elements |
SessionBeanType<T> |
removeAllAsyncMethod()
Removes all
async-method elements |
SessionBeanType<T> |
removeAllBusinessLocal()
Removes the
business-local element |
SessionBeanType<T> |
removeAllBusinessRemote()
Removes the
business-remote element |
SessionBeanType<T> |
removeAllConcurrentMethod()
Removes all
concurrent-method elements |
SessionBeanType<T> |
removeAllConnectionFactory()
Removes all
connection-factory elements |
SessionBeanType<T> |
removeAllDataSource()
Removes all
data-source elements |
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> |
removeAllJmsConnectionFactory()
Removes all
jms-connection-factory elements |
SessionBeanType<T> |
removeAllJmsDestination()
Removes all
jms-destination elements |
SessionBeanType<T> |
removeAllMailSession()
Removes all
mail-session 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> |
removeAllTimer()
Removes all
timer elements |
SessionBeanType<T> |
removeBeforeCompletionMethod()
Removes the
before-completion-method element |
SessionBeanType<T> |
removeConcurrencyManagementType()
Removes the
concurrency-management-type attribute |
SessionBeanType<T> |
removeDependsOn()
Removes the
depends-on element |
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> |
removeId()
Removes the
id attribute |
SessionBeanType<T> |
removeInitOnStartup()
Removes the
init-on-startup element |
SessionBeanType<T> |
removeLocal()
Removes the
local element |
SessionBeanType<T> |
removeLocalBean()
Removes the
local-bean element |
SessionBeanType<T> |
removeLocalHome()
Removes the
local-home element |
SessionBeanType<T> |
removeMappedName()
Removes the
mapped-name element |
SessionBeanType<T> |
removePassivationCapable()
Removes the
passivation-capable 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> |
removeStatefulTimeout()
Removes the
stateful-timeout element |
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 objectsSessionBeanTypeList<String> getAllDescription()
description elementsdescriptionSessionBeanType<T> removeAllDescription()
description elementSessionBeanTypeSessionBeanType<T> displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsSessionBeanTypeList<String> getAllDisplayName()
display-name elementsdisplay-nameSessionBeanType<T> removeAllDisplayName()
display-name elementSessionBeanTypeIconType<SessionBeanType<T>> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<SessionBeanType<T>> createIcon()
icon elementIconType> List<IconType<SessionBeanType<T>>> getAllIcon()
icon elementsiconSessionBeanType<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-entryEnvEntryType<SessionBeanType<T>> createEnvEntry()
env-entry elementEnvEntryType> List<EnvEntryType<SessionBeanType<T>>> getAllEnvEntry()
env-entry elementsenv-entrySessionBeanType<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-refEjbRefType<SessionBeanType<T>> createEjbRef()
ejb-ref elementEjbRefType> List<EjbRefType<SessionBeanType<T>>> getAllEjbRef()
ejb-ref elementsejb-refSessionBeanType<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-refEjbLocalRefType<SessionBeanType<T>> createEjbLocalRef()
ejb-local-ref elementEjbLocalRefType> List<EjbLocalRefType<SessionBeanType<T>>> getAllEjbLocalRef()
ejb-local-ref elementsejb-local-refSessionBeanType<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-refResourceRefType<SessionBeanType<T>> createResourceRef()
resource-ref elementResourceRefType> List<ResourceRefType<SessionBeanType<T>>> getAllResourceRef()
resource-ref elementsresource-refSessionBeanType<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-refResourceEnvRefType<SessionBeanType<T>> createResourceEnvRef()
resource-env-ref elementResourceEnvRefType> List<ResourceEnvRefType<SessionBeanType<T>>> getAllResourceEnvRef()
resource-env-ref elementsresource-env-refSessionBeanType<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-refMessageDestinationRefType<SessionBeanType<T>> createMessageDestinationRef()
message-destination-ref elementMessageDestinationRefType> List<MessageDestinationRefType<SessionBeanType<T>>> getAllMessageDestinationRef()
message-destination-ref elementsmessage-destination-refSessionBeanType<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-refPersistenceContextRefType<SessionBeanType<T>> createPersistenceContextRef()
persistence-context-ref elementPersistenceContextRefType> List<PersistenceContextRefType<SessionBeanType<T>>> getAllPersistenceContextRef()
persistence-context-ref elementspersistence-context-refSessionBeanType<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-refPersistenceUnitRefType<SessionBeanType<T>> createPersistenceUnitRef()
persistence-unit-ref elementPersistenceUnitRefType> List<PersistenceUnitRefType<SessionBeanType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref elementspersistence-unit-refSessionBeanType<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-constructLifecycleCallbackType<SessionBeanType<T>> createPostConstruct()
post-construct elementLifecycleCallbackType> List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostConstruct()
post-construct elementspost-constructSessionBeanType<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-destroyLifecycleCallbackType<SessionBeanType<T>> createPreDestroy()
pre-destroy elementLifecycleCallbackType> List<LifecycleCallbackType<SessionBeanType<T>>> getAllPreDestroy()
pre-destroy elementspre-destroySessionBeanType<T> removeAllPreDestroy()
pre-destroy elementsLifecycleCallbackType> DataSourceType<SessionBeanType<T>> getOrCreateDataSource()
data-source element will be created and returned.
Otherwise, the first existing data-source element will be returned.data-sourceDataSourceType<SessionBeanType<T>> createDataSource()
data-source elementDataSourceType> List<DataSourceType<SessionBeanType<T>>> getAllDataSource()
data-source elementsdata-sourceSessionBeanType<T> removeAllDataSource()
data-source elementsDataSourceType> JmsConnectionFactoryType<SessionBeanType<T>> getOrCreateJmsConnectionFactory()
jms-connection-factory element will be created and returned.
Otherwise, the first existing jms-connection-factory element will be returned.jms-connection-factoryJmsConnectionFactoryType<SessionBeanType<T>> createJmsConnectionFactory()
jms-connection-factory elementJmsConnectionFactoryType> List<JmsConnectionFactoryType<SessionBeanType<T>>> getAllJmsConnectionFactory()
jms-connection-factory elementsjms-connection-factorySessionBeanType<T> removeAllJmsConnectionFactory()
jms-connection-factory elementsJmsConnectionFactoryType> JmsDestinationType<SessionBeanType<T>> getOrCreateJmsDestination()
jms-destination element will be created and returned.
Otherwise, the first existing jms-destination element will be returned.jms-destinationJmsDestinationType<SessionBeanType<T>> createJmsDestination()
jms-destination elementJmsDestinationType> List<JmsDestinationType<SessionBeanType<T>>> getAllJmsDestination()
jms-destination elementsjms-destinationSessionBeanType<T> removeAllJmsDestination()
jms-destination elementsJmsDestinationType> MailSessionType<SessionBeanType<T>> getOrCreateMailSession()
mail-session element will be created and returned.
Otherwise, the first existing mail-session element will be returned.mail-sessionMailSessionType<SessionBeanType<T>> createMailSession()
mail-session elementMailSessionType> List<MailSessionType<SessionBeanType<T>>> getAllMailSession()
mail-session elementsmail-sessionSessionBeanType<T> removeAllMailSession()
mail-session elementsMailSessionType> ConnectionFactoryResourceType<SessionBeanType<T>> getOrCreateConnectionFactory()
connection-factory element will be created and returned.
Otherwise, the first existing connection-factory element will be returned.connection-factoryConnectionFactoryResourceType<SessionBeanType<T>> createConnectionFactory()
connection-factory elementConnectionFactoryResourceType> List<ConnectionFactoryResourceType<SessionBeanType<T>>> getAllConnectionFactory()
connection-factory elementsconnection-factorySessionBeanType<T> removeAllConnectionFactory()
connection-factory elementsConnectionFactoryResourceType> AdministeredObjectType<SessionBeanType<T>> getOrCreateAdministeredObject()
administered-object element will be created and returned.
Otherwise, the first existing administered-object element will be returned.administered-objectAdministeredObjectType<SessionBeanType<T>> createAdministeredObject()
administered-object elementAdministeredObjectType> List<AdministeredObjectType<SessionBeanType<T>>> getAllAdministeredObject()
administered-object elementsadministered-objectSessionBeanType<T> removeAllAdministeredObject()
administered-object elementsAdministeredObjectType> ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef()
service-ref element will be created and returned.
Otherwise, the first existing service-ref element will be returned.service-refServiceRefType<SessionBeanType<T>> createServiceRef()
service-ref elementServiceRefType> List<ServiceRefType<SessionBeanType<T>>> getAllServiceRef()
service-ref elementsservice-refSessionBeanType<T> removeAllServiceRef()
service-ref elementsServiceRefType> SessionBeanType<T> ejbName(String ejbName)
ejb-name elementejbName - the value for the element ejb-nameSessionBeanTypeString getEjbName()
ejb-name elementejb-nameSessionBeanType<T> removeEjbName()
ejb-name elementSessionBeanTypeSessionBeanType<T> mappedName(String mappedName)
mapped-name elementmappedName - the value for the element mapped-nameSessionBeanTypeString getMappedName()
mapped-name elementmapped-nameSessionBeanType<T> removeMappedName()
mapped-name elementSessionBeanTypeSessionBeanType<T> home(String home)
home elementhome - the value for the element homeSessionBeanTypeString getHome()
home elementhomeSessionBeanType<T> removeHome()
home elementSessionBeanTypeSessionBeanType<T> remote(String remote)
remote elementremote - the value for the element remoteSessionBeanTypeString getRemote()
remote elementremoteSessionBeanType<T> removeRemote()
remote elementSessionBeanTypeSessionBeanType<T> localHome(String localHome)
local-home elementlocalHome - the value for the element local-homeSessionBeanTypeString getLocalHome()
local-home elementlocal-homeSessionBeanType<T> removeLocalHome()
local-home elementSessionBeanTypeSessionBeanType<T> local(String local)
local elementlocal - the value for the element localSessionBeanTypeString getLocal()
local elementlocalSessionBeanType<T> removeLocal()
local elementSessionBeanTypeSessionBeanType<T> businessLocal(String... values)
business-local elements,
a new business-local elementvalues - list of business-local objectsSessionBeanTypeList<String> getAllBusinessLocal()
business-local elementsbusiness-localSessionBeanType<T> removeAllBusinessLocal()
business-local elementSessionBeanTypeSessionBeanType<T> businessRemote(String... values)
business-remote elements,
a new business-remote elementvalues - list of business-remote objectsSessionBeanTypeList<String> getAllBusinessRemote()
business-remote elementsbusiness-remoteSessionBeanType<T> removeAllBusinessRemote()
business-remote elementSessionBeanTypeSessionBeanType<T> localBean()
local-bean elementSessionBeanTypeBoolean isLocalBean()
local-bean elementSessionBeanTypeSessionBeanType<T> removeLocalBean()
local-bean elementSessionBeanTypeSessionBeanType<T> serviceEndpoint(String serviceEndpoint)
service-endpoint elementserviceEndpoint - the value for the element service-endpointSessionBeanTypeString getServiceEndpoint()
service-endpoint elementservice-endpointSessionBeanType<T> removeServiceEndpoint()
service-endpoint elementSessionBeanTypeSessionBeanType<T> ejbClass(String ejbClass)
ejb-class elementejbClass - the value for the element ejb-classSessionBeanTypeString getEjbClass()
ejb-class elementejb-classSessionBeanType<T> removeEjbClass()
ejb-class elementSessionBeanTypeSessionBeanType<T> sessionType(SessionTypeType sessionType)
session-type elementsessionType - the value for the element session-typeSessionBeanTypeSessionBeanType<T> sessionType(String sessionType)
session-type elementsessionType - the value for the element session-typeSessionBeanTypeSessionTypeType getSessionType()
session-type elementsession-typeString getSessionTypeAsString()
session-type elementsession-typeSessionBeanType<T> removeSessionType()
session-type attributeSessionBeanTypeStatefulTimeoutType<SessionBeanType<T>> getOrCreateStatefulTimeout()
stateful-timeout element with the given value will be created.
Otherwise, the existing stateful-timeout element will be returned.StatefulTimeoutType> SessionBeanType<T> removeStatefulTimeout()
stateful-timeout elementSessionBeanTypeNamedMethodType<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 elementSessionBeanTypeTimerType<SessionBeanType<T>> getOrCreateTimer()
timer element will be created and returned.
Otherwise, the first existing timer element will be returned.timerTimerType<SessionBeanType<T>> createTimer()
timer elementTimerType> List<TimerType<SessionBeanType<T>>> getAllTimer()
timer elementstimerSessionBeanType<T> removeAllTimer()
timer elementsTimerType> SessionBeanType<T> initOnStartup(Boolean initOnStartup)
init-on-startup elementinitOnStartup - the value for the element init-on-startupSessionBeanTypeBoolean isInitOnStartup()
init-on-startup elementinit-on-startupSessionBeanType<T> removeInitOnStartup()
init-on-startup elementSessionBeanTypeSessionBeanType<T> concurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)
concurrency-management-type elementconcurrencyManagementType - the value for the element concurrency-management-typeSessionBeanTypeSessionBeanType<T> concurrencyManagementType(String concurrencyManagementType)
concurrency-management-type elementconcurrencyManagementType - the value for the element concurrency-management-typeSessionBeanTypeConcurrencyManagementTypeType getConcurrencyManagementType()
concurrency-management-type elementconcurrency-management-typeString getConcurrencyManagementTypeAsString()
concurrency-management-type elementconcurrency-management-typeSessionBeanType<T> removeConcurrencyManagementType()
concurrency-management-type attributeSessionBeanTypeConcurrentMethodType<SessionBeanType<T>> getOrCreateConcurrentMethod()
concurrent-method element will be created and returned.
Otherwise, the first existing concurrent-method element will be returned.concurrent-methodConcurrentMethodType<SessionBeanType<T>> createConcurrentMethod()
concurrent-method elementConcurrentMethodType> List<ConcurrentMethodType<SessionBeanType<T>>> getAllConcurrentMethod()
concurrent-method elementsconcurrent-methodSessionBeanType<T> removeAllConcurrentMethod()
concurrent-method elementsConcurrentMethodType> DependsOnType<SessionBeanType<T>> getOrCreateDependsOn()
depends-on element with the given value will be created.
Otherwise, the existing depends-on element will be returned.DependsOnType> SessionBeanType<T> removeDependsOn()
depends-on elementSessionBeanTypeInitMethodType<SessionBeanType<T>> getOrCreateInitMethod()
init-method element will be created and returned.
Otherwise, the first existing init-method element will be returned.init-methodInitMethodType<SessionBeanType<T>> createInitMethod()
init-method elementInitMethodType> List<InitMethodType<SessionBeanType<T>>> getAllInitMethod()
init-method elementsinit-methodSessionBeanType<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-methodRemoveMethodType<SessionBeanType<T>> createRemoveMethod()
remove-method elementRemoveMethodType> List<RemoveMethodType<SessionBeanType<T>>> getAllRemoveMethod()
remove-method elementsremove-methodSessionBeanType<T> removeAllRemoveMethod()
remove-method elementsRemoveMethodType> AsyncMethodType<SessionBeanType<T>> getOrCreateAsyncMethod()
async-method element will be created and returned.
Otherwise, the first existing async-method element will be returned.async-methodAsyncMethodType<SessionBeanType<T>> createAsyncMethod()
async-method elementAsyncMethodType> List<AsyncMethodType<SessionBeanType<T>>> getAllAsyncMethod()
async-method elementsasync-methodSessionBeanType<T> removeAllAsyncMethod()
async-method elementsAsyncMethodType> SessionBeanType<T> transactionType(TransactionTypeType transactionType)
transaction-type elementtransactionType - the value for the element transaction-typeSessionBeanTypeSessionBeanType<T> transactionType(String transactionType)
transaction-type elementtransactionType - the value for the element transaction-typeSessionBeanTypeTransactionTypeType getTransactionType()
transaction-type elementtransaction-typeString getTransactionTypeAsString()
transaction-type elementtransaction-typeSessionBeanType<T> removeTransactionType()
transaction-type attributeSessionBeanTypeNamedMethodType<SessionBeanType<T>> getOrCreateAfterBeginMethod()
after-begin-method element with the given value will be created.
Otherwise, the existing after-begin-method element will be returned.NamedMethodType> SessionBeanType<T> removeAfterBeginMethod()
after-begin-method elementSessionBeanTypeNamedMethodType<SessionBeanType<T>> getOrCreateBeforeCompletionMethod()
before-completion-method element with the given value will be created.
Otherwise, the existing before-completion-method element will be returned.NamedMethodType> SessionBeanType<T> removeBeforeCompletionMethod()
before-completion-method elementSessionBeanTypeNamedMethodType<SessionBeanType<T>> getOrCreateAfterCompletionMethod()
after-completion-method element with the given value will be created.
Otherwise, the existing after-completion-method element will be returned.NamedMethodType> SessionBeanType<T> removeAfterCompletionMethod()
after-completion-method elementSessionBeanTypeAroundInvokeType<SessionBeanType<T>> getOrCreateAroundInvoke()
around-invoke element will be created and returned.
Otherwise, the first existing around-invoke element will be returned.around-invokeAroundInvokeType<SessionBeanType<T>> createAroundInvoke()
around-invoke elementAroundInvokeType> List<AroundInvokeType<SessionBeanType<T>>> getAllAroundInvoke()
around-invoke elementsaround-invokeSessionBeanType<T> removeAllAroundInvoke()
around-invoke elementsAroundInvokeType> AroundTimeoutType<SessionBeanType<T>> getOrCreateAroundTimeout()
around-timeout element will be created and returned.
Otherwise, the first existing around-timeout element will be returned.around-timeoutAroundTimeoutType<SessionBeanType<T>> createAroundTimeout()
around-timeout elementAroundTimeoutType> List<AroundTimeoutType<SessionBeanType<T>>> getAllAroundTimeout()
around-timeout elementsaround-timeoutSessionBeanType<T> removeAllAroundTimeout()
around-timeout elementsAroundTimeoutType> LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostActivate()
post-activate element will be created and returned.
Otherwise, the first existing post-activate element will be returned.post-activateLifecycleCallbackType<SessionBeanType<T>> createPostActivate()
post-activate elementLifecycleCallbackType> List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostActivate()
post-activate elementspost-activateSessionBeanType<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-passivateLifecycleCallbackType<SessionBeanType<T>> createPrePassivate()
pre-passivate elementLifecycleCallbackType> List<LifecycleCallbackType<SessionBeanType<T>>> getAllPrePassivate()
pre-passivate elementspre-passivateSessionBeanType<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-refSecurityRoleRefType<SessionBeanType<T>> createSecurityRoleRef()
security-role-ref elementSecurityRoleRefType> List<SecurityRoleRefType<SessionBeanType<T>>> getAllSecurityRoleRef()
security-role-ref elementssecurity-role-refSessionBeanType<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 elementSessionBeanTypeSessionBeanType<T> passivationCapable(Boolean passivationCapable)
passivation-capable elementpassivationCapable - the value for the element passivation-capableSessionBeanTypeBoolean isPassivationCapable()
passivation-capable elementpassivation-capableSessionBeanType<T> removePassivationCapable()
passivation-capable elementSessionBeanTypeSessionBeanType<T> id(String id)
id attributeid - the value for the attribute idSessionBeanTypeString getId()
id attributeidSessionBeanType<T> removeId()
id attributeSessionBeanTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.