|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionBeanType<T>
This interface defines the contract for the session-beanType
xsd type
Original Documentation:
The session-beanType declares an session bean. The
declaration consists of:
- an optional description
- an optional display name
- an optional icon element that contains a small and a large
icon file name
- a name assigned to the enterprise bean
in the deployment description
- an optional mapped-name element that can be used to provide
vendor-specific deployment information such as the physical
jndi-name of the session bean's remote home/business interface.
This element is not required to be supported by all
implementations. Any use of this element is non-portable.
- the names of all the remote or local business interfaces,
if any
- the names of the session bean's remote home and
remote interfaces, if any
- the names of the session bean's local home and
local interfaces, if any
- an optional declaration that this bean exposes a
no-interface view
- the name of the session bean's web service endpoint
interface, if any
- the session bean's implementation class
- the session bean's state management type
- an optional declaration of a stateful session bean's timeout value
- an optional declaration of the session bean's timeout method for
handling programmatically created timers
- an optional declaration of timers to be automatically created at
deployment time
- an optional declaration that a Singleton bean has eager
initialization
- an optional declaration of a Singleton/Stateful bean's concurrency
management type
- an optional declaration of the method locking metadata
for a Singleton with container managed concurrency
- an optional declaration of the other Singleton beans in the
application that must be initialized before this bean
- an optional declaration of the session bean's asynchronous
methods
- the optional session bean's transaction management type.
If it is not present, it is defaulted to Container.
- an optional declaration of a stateful session bean's
afterBegin, beforeCompletion, and/or afterCompletion methods
- an optional list of the session bean class and/or
superclass around-invoke methods.
- an optional list of the session bean class and/or
superclass around-timeout methods.
- an optional declaration of the bean's
environment entries
- an optional declaration of the bean's EJB references
- an optional declaration of the bean's local
EJB references
- an optional declaration of the bean's web
service references
- an optional declaration of the security role
references
- an optional declaration of the security identity
to be used for the execution of the bean's methods
- an optional declaration of the bean's resource
manager connection factory references
- an optional declaration of the bean's resource
environment references.
- an optional declaration of the bean's message
destination references
The elements that are optional are "optional" in the sense
that they are omitted when if lists represented by them are
empty.
The service-endpoint element may only be specified if the
bean is a stateless session bean.
Method Summary | |
---|---|
NamedMethodType<SessionBeanType<T>> |
afterBeginMethod()
If not already created, a new after-begin-method element will be created and returned. |
NamedMethodType<SessionBeanType<T>> |
afterCompletionMethod()
If not already created, a new after-completion-method element will be created and returned. |
AroundInvokeType<SessionBeanType<T>> |
aroundInvoke()
Returns the around-invoke element |
AroundTimeoutType<SessionBeanType<T>> |
aroundTimeout()
Returns the around-timeout element |
AsyncMethodType<SessionBeanType<T>> |
asyncMethod()
Returns the async-method element |
NamedMethodType<SessionBeanType<T>> |
beforeCompletionMethod()
If not already created, a new before-completion-method element will be created and returned. |
ConcurrentMethodType<SessionBeanType<T>> |
concurrentMethod()
Returns the concurrent-method element |
DataSourceType<SessionBeanType<T>> |
dataSource()
Returns the data-source element |
DependsOnType<SessionBeanType<T>> |
dependsOn()
If not already created, a new depends-on element will be created and returned. |
EjbLocalRefType<SessionBeanType<T>> |
ejbLocalRef()
Returns the ejb-local-ref element |
EjbRefType<SessionBeanType<T>> |
ejbRef()
Returns the ejb-ref element |
EnvEntryType<SessionBeanType<T>> |
envEntry()
Returns the env-entry element |
java.util.List<AroundInvokeType<SessionBeanType<T>>> |
getAroundInvokeList()
Returns all around-invoke elements |
java.util.List<AroundTimeoutType<SessionBeanType<T>>> |
getAroundTimeoutList()
Returns all around-timeout elements |
java.util.List<AsyncMethodType<SessionBeanType<T>>> |
getAsyncMethodList()
Returns all async-method elements |
java.util.List<java.lang.String> |
getBusinessLocalList()
Returns all business-local elements |
java.util.List<java.lang.String> |
getBusinessRemoteList()
Returns all business-remote elements |
ConcurrencyManagementTypeType |
getConcurrencyManagementType()
Returns the concurrency-management-type element |
java.lang.String |
getConcurrencyManagementTypeAsString()
Returns the concurrency-management-type element |
java.util.List<ConcurrentMethodType<SessionBeanType<T>>> |
getConcurrentMethodList()
Returns all concurrent-method elements |
java.util.List<DataSourceType<SessionBeanType<T>>> |
getDataSourceList()
Returns all data-source elements |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.lang.String |
getEjbClass()
Returns the ejb-class element |
java.util.List<EjbLocalRefType<SessionBeanType<T>>> |
getEjbLocalRefList()
Returns all ejb-local-ref elements |
java.lang.String |
getEjbName()
Returns the ejb-name element |
java.util.List<EjbRefType<SessionBeanType<T>>> |
getEjbRefList()
Returns all ejb-ref elements |
java.util.List<EnvEntryType<SessionBeanType<T>>> |
getEnvEntryList()
Returns all env-entry elements |
java.lang.String |
getHome()
Returns the home element |
java.util.List<IconType<SessionBeanType<T>>> |
getIconList()
Returns all icon elements |
java.util.List<InitMethodType<SessionBeanType<T>>> |
getInitMethodList()
Returns all init-method elements |
java.lang.String |
getLocal()
Returns the local element |
java.lang.String |
getLocalHome()
Returns the local-home element |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.util.List<MessageDestinationRefType<SessionBeanType<T>>> |
getMessageDestinationRefList()
Returns all message-destination-ref elements |
java.util.List<PersistenceContextRefType<SessionBeanType<T>>> |
getPersistenceContextRefList()
Returns all persistence-context-ref elements |
java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> |
getPersistenceUnitRefList()
Returns all persistence-unit-ref elements |
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> |
getPostActivateList()
Returns all post-activate elements |
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> |
getPostConstructList()
Returns all post-construct elements |
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> |
getPreDestroyList()
Returns all pre-destroy elements |
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> |
getPrePassivateList()
Returns all pre-passivate elements |
java.lang.String |
getRemote()
Returns the remote element |
java.util.List<RemoveMethodType<SessionBeanType<T>>> |
getRemoveMethodList()
Returns all remove-method elements |
java.util.List<ResourceEnvRefType<SessionBeanType<T>>> |
getResourceEnvRefList()
Returns all resource-env-ref elements |
java.util.List<ResourceRefType<SessionBeanType<T>>> |
getResourceRefList()
Returns all resource-ref elements |
java.util.List<SecurityRoleRefType<SessionBeanType<T>>> |
getSecurityRoleRefList()
Returns all security-role-ref elements |
java.lang.String |
getServiceEndpoint()
Returns the service-endpoint element |
SessionTypeType |
getSessionType()
Returns the session-type element |
java.lang.String |
getSessionTypeAsString()
Returns the session-type element |
java.util.List<TimerType<SessionBeanType<T>>> |
getTimerList()
Returns all timer elements |
TransactionTypeType |
getTransactionType()
Returns the transaction-type element |
java.lang.String |
getTransactionTypeAsString()
Returns the transaction-type element |
IconType<SessionBeanType<T>> |
icon()
Returns the icon element |
InitMethodType<SessionBeanType<T>> |
initMethod()
Returns the init-method element |
java.lang.Boolean |
isInitOnStartup()
Returns the init-on-startup element |
java.lang.Boolean |
isLocalBean()
|
SessionBeanType<T> |
localBean()
|
MessageDestinationRefType<SessionBeanType<T>> |
messageDestinationRef()
Returns the message-destination-ref element |
PersistenceContextRefType<SessionBeanType<T>> |
persistenceContextRef()
Returns the persistence-context-ref element |
PersistenceUnitRefType<SessionBeanType<T>> |
persistenceUnitRef()
Returns the persistence-unit-ref element |
LifecycleCallbackType<SessionBeanType<T>> |
postActivate()
Returns the post-activate element |
LifecycleCallbackType<SessionBeanType<T>> |
postConstruct()
Returns the post-construct element |
LifecycleCallbackType<SessionBeanType<T>> |
preDestroy()
Returns the pre-destroy element |
LifecycleCallbackType<SessionBeanType<T>> |
prePassivate()
Returns the pre-passivate element |
SessionBeanType<T> |
removeAfterBeginMethod()
Removes the after-begin-method element |
SessionBeanType<T> |
removeAfterCompletionMethod()
Removes the after-completion-method element |
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> |
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> |
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> |
removeAllTimer()
Removes all timer elements |
SessionBeanType<T> |
removeBeforeCompletionMethod()
Removes the before-completion-method element |
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> |
removeInitOnStartup()
Removes the init-on-startup element |
SessionBeanType<T> |
removeLocal()
Removes the local element |
SessionBeanType<T> |
removeLocalHome()
Removes the local-home element |
SessionBeanType<T> |
removeMappedName()
Removes the mapped-name element |
RemoveMethodType<SessionBeanType<T>> |
removeMethod()
Returns the remove-method 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> |
removeStatefulTimeout()
Removes the stateful-timeout element |
SessionBeanType<T> |
removeTimeoutMethod()
Removes the timeout-method element |
ResourceEnvRefType<SessionBeanType<T>> |
resourceEnvRef()
Returns the resource-env-ref element |
ResourceRefType<SessionBeanType<T>> |
resourceRef()
Returns the resource-ref element |
SecurityIdentityType<SessionBeanType<T>> |
securityIdentity()
If not already created, a new security-identity element will be created and returned. |
SecurityRoleRefType<SessionBeanType<T>> |
securityRoleRef()
Returns the security-role-ref element |
SessionBeanType<T> |
setBusinessLocal(java.lang.String businessLocal)
Creates a new business-local element |
SessionBeanType<T> |
setBusinessLocalList(java.lang.String... values)
Creates for all String objects representing business-local elements,
a new business-local element |
SessionBeanType<T> |
setBusinessRemote(java.lang.String businessRemote)
Creates a new business-remote element |
SessionBeanType<T> |
setBusinessRemoteList(java.lang.String... values)
Creates for all String objects representing business-remote elements,
a new business-remote element |
SessionBeanType<T> |
setConcurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)
If not already created, a new concurrency-management-type element with the given value will be created. |
SessionBeanType<T> |
setConcurrencyManagementType(java.lang.String concurrencyManagementType)
If not already created, a new concurrency-management-type element with the given value will be created. |
SessionBeanType<T> |
setDescription(java.lang.String description)
Creates a new description element |
SessionBeanType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
SessionBeanType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
SessionBeanType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
SessionBeanType<T> |
setEjbClass(java.lang.String ejbClass)
If not already created, a new ejb-class element with the given value will be created. |
SessionBeanType<T> |
setEjbName(java.lang.String ejbName)
If not already created, a new ejb-name element with the given value will be created. |
SessionBeanType<T> |
setHome(java.lang.String home)
If not already created, a new home element with the given value will be created. |
SessionBeanType<T> |
setInitOnStartup(java.lang.Boolean initOnStartup)
If not already created, a new init-on-startup element with the given value will be created. |
SessionBeanType<T> |
setLocal(java.lang.String local)
If not already created, a new local element with the given value will be created. |
SessionBeanType<T> |
setLocalHome(java.lang.String localHome)
If not already created, a new local-home element with the given value will be created. |
SessionBeanType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
SessionBeanType<T> |
setRemote(java.lang.String remote)
If not already created, a new remote element with the given value will be created. |
SessionBeanType<T> |
setServiceEndpoint(java.lang.String serviceEndpoint)
If not already created, a new service-endpoint element with the given value will be created. |
SessionBeanType<T> |
setSessionType(SessionTypeType sessionType)
If not already created, a new session-type element with the given value will be created. |
SessionBeanType<T> |
setSessionType(java.lang.String sessionType)
If not already created, a new session-type element with the given value will be created. |
SessionBeanType<T> |
setTransactionType(java.lang.String transactionType)
If not already created, a new transaction-type element with the given value will be created. |
SessionBeanType<T> |
setTransactionType(TransactionTypeType transactionType)
If not already created, a new transaction-type element with the given value will be created. |
StatefulTimeoutType<SessionBeanType<T>> |
statefulTimeout()
If not already created, a new stateful-timeout element will be created and returned. |
NamedMethodType<SessionBeanType<T>> |
timeoutMethod()
If not already created, a new timeout-method element will be created and returned. |
TimerType<SessionBeanType<T>> |
timer()
Returns the timer element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
SessionBeanType<T> setDescription(java.lang.String description)
description
element
SessionBeanType
SessionBeanType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
SessionBeanType
SessionBeanType<T> removeAllDescription()
description
element
SessionBeanType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
SessionBeanType<T> setDisplayName(java.lang.String displayName)
display-name
element
SessionBeanType
SessionBeanType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
list
- of display-name
objects
SessionBeanType
SessionBeanType<T> removeAllDisplayName()
display-name
element
SessionBeanType
java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
display-name
SessionBeanType<T> removeAllIcon()
icon
elements
SessionBeanType
IconType<SessionBeanType<T>> icon()
icon
element
icon
java.util.List<IconType<SessionBeanType<T>>> getIconList()
icon
elements
icon
SessionBeanType<T> removeAllEnvEntry()
env-entry
elements
SessionBeanType
EnvEntryType<SessionBeanType<T>> envEntry()
env-entry
element
env-entry
java.util.List<EnvEntryType<SessionBeanType<T>>> getEnvEntryList()
env-entry
elements
env-entry
SessionBeanType<T> removeAllEjbRef()
ejb-ref
elements
SessionBeanType
EjbRefType<SessionBeanType<T>> ejbRef()
ejb-ref
element
ejb-ref
java.util.List<EjbRefType<SessionBeanType<T>>> getEjbRefList()
ejb-ref
elements
ejb-ref
SessionBeanType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
SessionBeanType
EjbLocalRefType<SessionBeanType<T>> ejbLocalRef()
ejb-local-ref
element
ejb-local-ref
java.util.List<EjbLocalRefType<SessionBeanType<T>>> getEjbLocalRefList()
ejb-local-ref
elements
ejb-local-ref
SessionBeanType<T> removeAllResourceRef()
resource-ref
elements
SessionBeanType
ResourceRefType<SessionBeanType<T>> resourceRef()
resource-ref
element
resource-ref
java.util.List<ResourceRefType<SessionBeanType<T>>> getResourceRefList()
resource-ref
elements
resource-ref
SessionBeanType<T> removeAllResourceEnvRef()
resource-env-ref
elements
SessionBeanType
ResourceEnvRefType<SessionBeanType<T>> resourceEnvRef()
resource-env-ref
element
resource-env-ref
java.util.List<ResourceEnvRefType<SessionBeanType<T>>> getResourceEnvRefList()
resource-env-ref
elements
resource-env-ref
SessionBeanType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
SessionBeanType
MessageDestinationRefType<SessionBeanType<T>> messageDestinationRef()
message-destination-ref
element
message-destination-ref
java.util.List<MessageDestinationRefType<SessionBeanType<T>>> getMessageDestinationRefList()
message-destination-ref
elements
message-destination-ref
SessionBeanType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
SessionBeanType
PersistenceContextRefType<SessionBeanType<T>> persistenceContextRef()
persistence-context-ref
element
persistence-context-ref
java.util.List<PersistenceContextRefType<SessionBeanType<T>>> getPersistenceContextRefList()
persistence-context-ref
elements
persistence-context-ref
SessionBeanType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
SessionBeanType
PersistenceUnitRefType<SessionBeanType<T>> persistenceUnitRef()
persistence-unit-ref
element
persistence-unit-ref
java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> getPersistenceUnitRefList()
persistence-unit-ref
elements
persistence-unit-ref
SessionBeanType<T> removeAllPostConstruct()
post-construct
elements
SessionBeanType
LifecycleCallbackType<SessionBeanType<T>> postConstruct()
post-construct
element
post-construct
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostConstructList()
post-construct
elements
post-construct
SessionBeanType<T> removeAllPreDestroy()
pre-destroy
elements
SessionBeanType
LifecycleCallbackType<SessionBeanType<T>> preDestroy()
pre-destroy
element
pre-destroy
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPreDestroyList()
pre-destroy
elements
pre-destroy
SessionBeanType<T> removeAllDataSource()
data-source
elements
SessionBeanType
DataSourceType<SessionBeanType<T>> dataSource()
data-source
element
data-source
java.util.List<DataSourceType<SessionBeanType<T>>> getDataSourceList()
data-source
elements
data-source
SessionBeanType<T> setEjbName(java.lang.String ejbName)
ejb-name
element with the given value will be created.
Otherwise, the existing ejb-name
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeEjbName()
ejb-name
element
SessionBeanType
java.lang.String getEjbName()
ejb-name
element
ejb-name
SessionBeanType<T> setMappedName(java.lang.String mappedName)
mapped-name
element with the given value will be created.
Otherwise, the existing mapped-name
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeMappedName()
mapped-name
element
SessionBeanType
java.lang.String getMappedName()
mapped-name
element
mapped-name
SessionBeanType<T> setHome(java.lang.String home)
home
element with the given value will be created.
Otherwise, the existing home
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeHome()
home
element
SessionBeanType
java.lang.String getHome()
home
element
home
SessionBeanType<T> setRemote(java.lang.String remote)
remote
element with the given value will be created.
Otherwise, the existing remote
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeRemote()
remote
element
SessionBeanType
java.lang.String getRemote()
remote
element
remote
SessionBeanType<T> setLocalHome(java.lang.String localHome)
local-home
element with the given value will be created.
Otherwise, the existing local-home
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeLocalHome()
local-home
element
SessionBeanType
java.lang.String getLocalHome()
local-home
element
local-home
SessionBeanType<T> setLocal(java.lang.String local)
local
element with the given value will be created.
Otherwise, the existing local
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeLocal()
local
element
SessionBeanType
java.lang.String getLocal()
local
element
local
SessionBeanType<T> setBusinessLocal(java.lang.String businessLocal)
business-local
element
SessionBeanType
SessionBeanType<T> setBusinessLocalList(java.lang.String... values)
business-local
elements,
a new business-local
element
list
- of business-local
objects
SessionBeanType
SessionBeanType<T> removeAllBusinessLocal()
business-local
element
SessionBeanType
java.util.List<java.lang.String> getBusinessLocalList()
business-local
elements
business-local
SessionBeanType<T> setBusinessRemote(java.lang.String businessRemote)
business-remote
element
SessionBeanType
SessionBeanType<T> setBusinessRemoteList(java.lang.String... values)
business-remote
elements,
a new business-remote
element
list
- of business-remote
objects
SessionBeanType
SessionBeanType<T> removeAllBusinessRemote()
business-remote
element
SessionBeanType
java.util.List<java.lang.String> getBusinessRemoteList()
business-remote
elements
business-remote
SessionBeanType<T> localBean()
java.lang.Boolean isLocalBean()
SessionBeanType<T> setServiceEndpoint(java.lang.String serviceEndpoint)
service-endpoint
element with the given value will be created.
Otherwise, the existing service-endpoint
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeServiceEndpoint()
service-endpoint
element
SessionBeanType
java.lang.String getServiceEndpoint()
service-endpoint
element
service-endpoint
SessionBeanType<T> setEjbClass(java.lang.String ejbClass)
ejb-class
element with the given value will be created.
Otherwise, the existing ejb-class
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeEjbClass()
ejb-class
element
SessionBeanType
java.lang.String getEjbClass()
ejb-class
element
ejb-class
SessionBeanType<T> setSessionType(SessionTypeType sessionType)
session-type
element with the given value will be created.
Otherwise, the existing session-type
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> setSessionType(java.lang.String sessionType)
session-type
element with the given value will be created.
Otherwise, the existing session-type
element will be updated with the given value.
SessionBeanType
SessionTypeType getSessionType()
session-type
element
session-type
java.lang.String getSessionTypeAsString()
session-type
element
session-type
SessionBeanType<T> removeStatefulTimeout()
stateful-timeout
element
SessionBeanType
StatefulTimeoutType<SessionBeanType<T>> statefulTimeout()
stateful-timeout
element will be created and returned.
Otherwise, the existing stateful-timeout
element will be returned.
stateful-timeout
SessionBeanType<T> removeTimeoutMethod()
timeout-method
element
SessionBeanType
NamedMethodType<SessionBeanType<T>> timeoutMethod()
timeout-method
element will be created and returned.
Otherwise, the existing timeout-method
element will be returned.
timeout-method
SessionBeanType<T> removeAllTimer()
timer
elements
SessionBeanType
TimerType<SessionBeanType<T>> timer()
timer
element
timer
java.util.List<TimerType<SessionBeanType<T>>> getTimerList()
timer
elements
timer
SessionBeanType<T> setInitOnStartup(java.lang.Boolean initOnStartup)
init-on-startup
element with the given value will be created.
Otherwise, the existing init-on-startup
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> removeInitOnStartup()
init-on-startup
element
SessionBeanType
java.lang.Boolean isInitOnStartup()
init-on-startup
element
init-on-startup
SessionBeanType<T> setConcurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)
concurrency-management-type
element with the given value will be created.
Otherwise, the existing concurrency-management-type
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> setConcurrencyManagementType(java.lang.String concurrencyManagementType)
concurrency-management-type
element with the given value will be created.
Otherwise, the existing concurrency-management-type
element will be updated with the given value.
SessionBeanType
ConcurrencyManagementTypeType getConcurrencyManagementType()
concurrency-management-type
element
concurrency-management-type
java.lang.String getConcurrencyManagementTypeAsString()
concurrency-management-type
element
concurrency-management-type
SessionBeanType<T> removeAllConcurrentMethod()
concurrent-method
elements
SessionBeanType
ConcurrentMethodType<SessionBeanType<T>> concurrentMethod()
concurrent-method
element
concurrent-method
java.util.List<ConcurrentMethodType<SessionBeanType<T>>> getConcurrentMethodList()
concurrent-method
elements
concurrent-method
SessionBeanType<T> removeDependsOn()
depends-on
element
SessionBeanType
DependsOnType<SessionBeanType<T>> dependsOn()
depends-on
element will be created and returned.
Otherwise, the existing depends-on
element will be returned.
depends-on
SessionBeanType<T> removeAllInitMethod()
init-method
elements
SessionBeanType
InitMethodType<SessionBeanType<T>> initMethod()
init-method
element
init-method
java.util.List<InitMethodType<SessionBeanType<T>>> getInitMethodList()
init-method
elements
init-method
SessionBeanType<T> removeAllRemoveMethod()
remove-method
elements
SessionBeanType
RemoveMethodType<SessionBeanType<T>> removeMethod()
remove-method
element
remove-method
java.util.List<RemoveMethodType<SessionBeanType<T>>> getRemoveMethodList()
remove-method
elements
remove-method
SessionBeanType<T> removeAllAsyncMethod()
async-method
elements
SessionBeanType
AsyncMethodType<SessionBeanType<T>> asyncMethod()
async-method
element
async-method
java.util.List<AsyncMethodType<SessionBeanType<T>>> getAsyncMethodList()
async-method
elements
async-method
SessionBeanType<T> setTransactionType(TransactionTypeType transactionType)
transaction-type
element with the given value will be created.
Otherwise, the existing transaction-type
element will be updated with the given value.
SessionBeanType
SessionBeanType<T> setTransactionType(java.lang.String transactionType)
transaction-type
element with the given value will be created.
Otherwise, the existing transaction-type
element will be updated with the given value.
SessionBeanType
TransactionTypeType getTransactionType()
transaction-type
element
transaction-type
java.lang.String getTransactionTypeAsString()
transaction-type
element
transaction-type
SessionBeanType<T> removeAfterBeginMethod()
after-begin-method
element
SessionBeanType
NamedMethodType<SessionBeanType<T>> afterBeginMethod()
after-begin-method
element will be created and returned.
Otherwise, the existing after-begin-method
element will be returned.
after-begin-method
SessionBeanType<T> removeBeforeCompletionMethod()
before-completion-method
element
SessionBeanType
NamedMethodType<SessionBeanType<T>> beforeCompletionMethod()
before-completion-method
element will be created and returned.
Otherwise, the existing before-completion-method
element will be returned.
before-completion-method
SessionBeanType<T> removeAfterCompletionMethod()
after-completion-method
element
SessionBeanType
NamedMethodType<SessionBeanType<T>> afterCompletionMethod()
after-completion-method
element will be created and returned.
Otherwise, the existing after-completion-method
element will be returned.
after-completion-method
SessionBeanType<T> removeAllAroundInvoke()
around-invoke
elements
SessionBeanType
AroundInvokeType<SessionBeanType<T>> aroundInvoke()
around-invoke
element
around-invoke
java.util.List<AroundInvokeType<SessionBeanType<T>>> getAroundInvokeList()
around-invoke
elements
around-invoke
SessionBeanType<T> removeAllAroundTimeout()
around-timeout
elements
SessionBeanType
AroundTimeoutType<SessionBeanType<T>> aroundTimeout()
around-timeout
element
around-timeout
java.util.List<AroundTimeoutType<SessionBeanType<T>>> getAroundTimeoutList()
around-timeout
elements
around-timeout
SessionBeanType<T> removeAllPostActivate()
post-activate
elements
SessionBeanType
LifecycleCallbackType<SessionBeanType<T>> postActivate()
post-activate
element
post-activate
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostActivateList()
post-activate
elements
post-activate
SessionBeanType<T> removeAllPrePassivate()
pre-passivate
elements
SessionBeanType
LifecycleCallbackType<SessionBeanType<T>> prePassivate()
pre-passivate
element
pre-passivate
java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPrePassivateList()
pre-passivate
elements
pre-passivate
SessionBeanType<T> removeAllSecurityRoleRef()
security-role-ref
elements
SessionBeanType
SecurityRoleRefType<SessionBeanType<T>> securityRoleRef()
security-role-ref
element
security-role-ref
java.util.List<SecurityRoleRefType<SessionBeanType<T>>> getSecurityRoleRefList()
security-role-ref
elements
security-role-ref
SessionBeanType<T> removeSecurityIdentity()
security-identity
element
SessionBeanType
SecurityIdentityType<SessionBeanType<T>> securityIdentity()
security-identity
element will be created and returned.
Otherwise, the existing security-identity
element will be returned.
security-identity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |