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 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 |
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
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>
DataSourceType<SessionBeanType<T>> getOrCreateDataSource()
data-source
element will be created and returned.
Otherwise, the first existing data-source
element will be returned.data-source
DataSourceType<SessionBeanType<T>> createDataSource()
data-source
elementDataSourceType>
List<DataSourceType<SessionBeanType<T>>> getAllDataSource()
data-source
elementsdata-source
SessionBeanType<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-factory
JmsConnectionFactoryType<SessionBeanType<T>> createJmsConnectionFactory()
jms-connection-factory
elementJmsConnectionFactoryType>
List<JmsConnectionFactoryType<SessionBeanType<T>>> getAllJmsConnectionFactory()
jms-connection-factory
elementsjms-connection-factory
SessionBeanType<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-destination
JmsDestinationType<SessionBeanType<T>> createJmsDestination()
jms-destination
elementJmsDestinationType>
List<JmsDestinationType<SessionBeanType<T>>> getAllJmsDestination()
jms-destination
elementsjms-destination
SessionBeanType<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-session
MailSessionType<SessionBeanType<T>> createMailSession()
mail-session
elementMailSessionType>
List<MailSessionType<SessionBeanType<T>>> getAllMailSession()
mail-session
elementsmail-session
SessionBeanType<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-factory
ConnectionFactoryResourceType<SessionBeanType<T>> createConnectionFactory()
connection-factory
elementConnectionFactoryResourceType>
List<ConnectionFactoryResourceType<SessionBeanType<T>>> getAllConnectionFactory()
connection-factory
elementsconnection-factory
SessionBeanType<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-object
AdministeredObjectType<SessionBeanType<T>> createAdministeredObject()
administered-object
elementAdministeredObjectType>
List<AdministeredObjectType<SessionBeanType<T>>> getAllAdministeredObject()
administered-object
elementsadministered-object
SessionBeanType<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-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> localBean()
local-bean
elementSessionBeanType
Boolean isLocalBean()
local-bean
elementSessionBeanType
SessionBeanType<T> removeLocalBean()
local-bean
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
StatefulTimeoutType<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
elementSessionBeanType
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
TimerType<SessionBeanType<T>> getOrCreateTimer()
timer
element will be created and returned.
Otherwise, the first existing timer
element will be returned.timer
TimerType<SessionBeanType<T>> createTimer()
timer
elementTimerType>
List<TimerType<SessionBeanType<T>>> getAllTimer()
timer
elementstimer
SessionBeanType<T> removeAllTimer()
timer
elementsTimerType>
SessionBeanType<T> initOnStartup(Boolean initOnStartup)
init-on-startup
elementinitOnStartup
- the value for the element init-on-startup
SessionBeanType
Boolean isInitOnStartup()
init-on-startup
elementinit-on-startup
SessionBeanType<T> removeInitOnStartup()
init-on-startup
elementSessionBeanType
SessionBeanType<T> concurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)
concurrency-management-type
elementconcurrencyManagementType
- the value for the element concurrency-management-type
SessionBeanType
SessionBeanType<T> concurrencyManagementType(String concurrencyManagementType)
concurrency-management-type
elementconcurrencyManagementType
- the value for the element concurrency-management-type
SessionBeanType
ConcurrencyManagementTypeType getConcurrencyManagementType()
concurrency-management-type
elementconcurrency-management-type
String getConcurrencyManagementTypeAsString()
concurrency-management-type
elementconcurrency-management-type
SessionBeanType<T> removeConcurrencyManagementType()
concurrency-management-type
attributeSessionBeanType
ConcurrentMethodType<SessionBeanType<T>> getOrCreateConcurrentMethod()
concurrent-method
element will be created and returned.
Otherwise, the first existing concurrent-method
element will be returned.concurrent-method
ConcurrentMethodType<SessionBeanType<T>> createConcurrentMethod()
concurrent-method
elementConcurrentMethodType>
List<ConcurrentMethodType<SessionBeanType<T>>> getAllConcurrentMethod()
concurrent-method
elementsconcurrent-method
SessionBeanType<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
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>
AsyncMethodType<SessionBeanType<T>> getOrCreateAsyncMethod()
async-method
element will be created and returned.
Otherwise, the first existing async-method
element will be returned.async-method
AsyncMethodType<SessionBeanType<T>> createAsyncMethod()
async-method
elementAsyncMethodType>
List<AsyncMethodType<SessionBeanType<T>>> getAllAsyncMethod()
async-method
elementsasync-method
SessionBeanType<T> removeAllAsyncMethod()
async-method
elementsAsyncMethodType>
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
NamedMethodType<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
elementSessionBeanType
NamedMethodType<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
elementSessionBeanType
NamedMethodType<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
elementSessionBeanType
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>
AroundTimeoutType<SessionBeanType<T>> getOrCreateAroundTimeout()
around-timeout
element will be created and returned.
Otherwise, the first existing around-timeout
element will be returned.around-timeout
AroundTimeoutType<SessionBeanType<T>> createAroundTimeout()
around-timeout
elementAroundTimeoutType>
List<AroundTimeoutType<SessionBeanType<T>>> getAllAroundTimeout()
around-timeout
elementsaround-timeout
SessionBeanType<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-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
SessionBeanType<T> passivationCapable(Boolean passivationCapable)
passivation-capable
elementpassivationCapable
- the value for the element passivation-capable
SessionBeanType
Boolean isPassivationCapable()
passivation-capable
elementpassivation-capable
SessionBeanType<T> removePassivationCapable()
passivation-capable
elementSessionBeanType
SessionBeanType<T> id(String id)
id
attributeid
- the value for the attribute id
SessionBeanType
String getId()
id
attributeid
SessionBeanType<T> removeId()
id
attributeSessionBeanType
Copyright © 2018 JBoss by Red Hat. All rights reserved.