Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface SessionBeanType<T>

All Superinterfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>

All Known Implementing Classes:
  SessionBeanTypeImpl

    public interface SessionBeanType<T>

extends org.jboss.shrinkwrap.descriptor.api.Child<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.

Since:
  Generation date :2011-07-19T22:55:02.759+02:00
Author:
  Ralf Battenfeld

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

### setDescription

    SessionBeanType<T> setDescription(java.lang.String description)

  Creates a new `description` element

  Returns:
    the current instance of `SessionBeanType`

### setDescriptionList

    SessionBeanType<T> setDescriptionList(java.lang.String... values)

  Creates for all String objects representing `description` elements, a new `description` element

  Parameters:
    `list` - of `description` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllDescription

    SessionBeanType<T> removeAllDescription()

  Removes the `description` element

  Returns:
    the current instance of `SessionBeanType`

### getDescriptionList

    java.util.List<java.lang.String> getDescriptionList()

  Returns all `description` elements

  Returns:
    list of `description`

### setDisplayName

    SessionBeanType<T> setDisplayName(java.lang.String displayName)

  Creates a new `display-name` element

  Returns:
    the current instance of `SessionBeanType`

### setDisplayNameList

    SessionBeanType<T> setDisplayNameList(java.lang.String... values)

  Creates for all String objects representing `display-name` elements, a new `display-name` element

  Parameters:
    `list` - of `display-name` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllDisplayName

    SessionBeanType<T> removeAllDisplayName()

  Removes the `display-name` element

  Returns:
    the current instance of `SessionBeanType`

### getDisplayNameList

    java.util.List<java.lang.String> getDisplayNameList()

  Returns all `display-name` elements

  Returns:
    list of `display-name`

### removeAllIcon

    SessionBeanType<T> removeAllIcon()

  Removes all `icon` elements

  Returns:
    the current instance of `SessionBeanType`

### icon

    IconType<SessionBeanType<T>> icon()

  Returns the `icon` element

  Returns:
    the node defined for the element `icon`

### getIconList

    java.util.List<IconType<SessionBeanType<T>>> getIconList()

  Returns all `icon` elements

  Returns:
    list of `icon`

### removeAllEnvEntry

    SessionBeanType<T> removeAllEnvEntry()

  Removes all `env-entry` elements

  Returns:
    the current instance of `SessionBeanType`

### envEntry

    EnvEntryType<SessionBeanType<T>> envEntry()

  Returns the `env-entry` element

  Returns:
    the node defined for the element `env-entry`

### getEnvEntryList

    java.util.List<EnvEntryType<SessionBeanType<T>>> getEnvEntryList()

  Returns all `env-entry` elements

  Returns:
    list of `env-entry`

### removeAllEjbRef

    SessionBeanType<T> removeAllEjbRef()

  Removes all `ejb-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### ejbRef

    EjbRefType<SessionBeanType<T>> ejbRef()

  Returns the `ejb-ref` element

  Returns:
    the node defined for the element `ejb-ref`

### getEjbRefList

    java.util.List<EjbRefType<SessionBeanType<T>>> getEjbRefList()

  Returns all `ejb-ref` elements

  Returns:
    list of `ejb-ref`

### removeAllEjbLocalRef

    SessionBeanType<T> removeAllEjbLocalRef()

  Removes all `ejb-local-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### ejbLocalRef

    EjbLocalRefType<SessionBeanType<T>> ejbLocalRef()

  Returns the `ejb-local-ref` element

  Returns:
    the node defined for the element `ejb-local-ref`

### getEjbLocalRefList

    java.util.List<EjbLocalRefType<SessionBeanType<T>>> getEjbLocalRefList()

  Returns all `ejb-local-ref` elements

  Returns:
    list of `ejb-local-ref`

### removeAllResourceRef

    SessionBeanType<T> removeAllResourceRef()

  Removes all `resource-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### resourceRef

    ResourceRefType<SessionBeanType<T>> resourceRef()

  Returns the `resource-ref` element

  Returns:
    the node defined for the element `resource-ref`

### getResourceRefList

    java.util.List<ResourceRefType<SessionBeanType<T>>> getResourceRefList()

  Returns all `resource-ref` elements

  Returns:
    list of `resource-ref`

### removeAllResourceEnvRef

    SessionBeanType<T> removeAllResourceEnvRef()

  Removes all `resource-env-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### resourceEnvRef

    ResourceEnvRefType<SessionBeanType<T>> resourceEnvRef()

  Returns the `resource-env-ref` element

  Returns:
    the node defined for the element `resource-env-ref`

### getResourceEnvRefList

    java.util.List<ResourceEnvRefType<SessionBeanType<T>>> getResourceEnvRefList()

  Returns all `resource-env-ref` elements

  Returns:
    list of `resource-env-ref`

### removeAllMessageDestinationRef

    SessionBeanType<T> removeAllMessageDestinationRef()

  Removes all `message-destination-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### messageDestinationRef

    MessageDestinationRefType<SessionBeanType<T>> messageDestinationRef()

  Returns the `message-destination-ref` element

  Returns:
    the node defined for the element `message-destination-ref`

### getMessageDestinationRefList

    java.util.List<MessageDestinationRefType<SessionBeanType<T>>> getMessageDestinationRefList()

  Returns all `message-destination-ref` elements

  Returns:
    list of `message-destination-ref`

### removeAllPersistenceContextRef

    SessionBeanType<T> removeAllPersistenceContextRef()

  Removes all `persistence-context-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### persistenceContextRef

    PersistenceContextRefType<SessionBeanType<T>> persistenceContextRef()

  Returns the `persistence-context-ref` element

  Returns:
    the node defined for the element `persistence-context-ref`

### getPersistenceContextRefList

    java.util.List<PersistenceContextRefType<SessionBeanType<T>>> getPersistenceContextRefList()

  Returns all `persistence-context-ref` elements

  Returns:
    list of `persistence-context-ref`

### removeAllPersistenceUnitRef

    SessionBeanType<T> removeAllPersistenceUnitRef()

  Removes all `persistence-unit-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### persistenceUnitRef

    PersistenceUnitRefType<SessionBeanType<T>> persistenceUnitRef()

  Returns the `persistence-unit-ref` element

  Returns:
    the node defined for the element `persistence-unit-ref`

### getPersistenceUnitRefList

    java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> getPersistenceUnitRefList()

  Returns all `persistence-unit-ref` elements

  Returns:
    list of `persistence-unit-ref`

### removeAllPostConstruct

    SessionBeanType<T> removeAllPostConstruct()

  Removes all `post-construct` elements

  Returns:
    the current instance of `SessionBeanType`

### postConstruct

    LifecycleCallbackType<SessionBeanType<T>> postConstruct()

  Returns the `post-construct` element

  Returns:
    the node defined for the element `post-construct`

### getPostConstructList

    java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostConstructList()

  Returns all `post-construct` elements

  Returns:
    list of `post-construct`

### removeAllPreDestroy

    SessionBeanType<T> removeAllPreDestroy()

  Removes all `pre-destroy` elements

  Returns:
    the current instance of `SessionBeanType`

### preDestroy

    LifecycleCallbackType<SessionBeanType<T>> preDestroy()

  Returns the `pre-destroy` element

  Returns:
    the node defined for the element `pre-destroy`

### getPreDestroyList

    java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPreDestroyList()

  Returns all `pre-destroy` elements

  Returns:
    list of `pre-destroy`

### removeAllDataSource

    SessionBeanType<T> removeAllDataSource()

  Removes all `data-source` elements

  Returns:
    the current instance of `SessionBeanType`

### dataSource

    DataSourceType<SessionBeanType<T>> dataSource()

  Returns the `data-source` element

  Returns:
    the node defined for the element `data-source`

### getDataSourceList

    java.util.List<DataSourceType<SessionBeanType<T>>> getDataSourceList()

  Returns all `data-source` elements

  Returns:
    list of `data-source`

### setEjbName

    SessionBeanType<T> setEjbName(java.lang.String ejbName)

  If not already created, a new `ejb-name` element with the given value will be created. Otherwise, the existing `ejb-name` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeEjbName

    SessionBeanType<T> removeEjbName()

  Removes the `ejb-name` element

  Returns:
    the current instance of `SessionBeanType`

### getEjbName

    java.lang.String getEjbName()

  Returns the `ejb-name` element

  Returns:
    the node defined for the element `ejb-name`

### setMappedName

    SessionBeanType<T> setMappedName(java.lang.String mappedName)

  If not already created, a new `mapped-name` element with the given value will be created. Otherwise, the existing `mapped-name` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeMappedName

    SessionBeanType<T> removeMappedName()

  Removes the `mapped-name` element

  Returns:
    the current instance of `SessionBeanType`

### getMappedName

    java.lang.String getMappedName()

  Returns the `mapped-name` element

  Returns:
    the node defined for the element `mapped-name`

### setHome

    SessionBeanType<T> setHome(java.lang.String home)

  If not already created, a new `home` element with the given value will be created. Otherwise, the existing `home` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeHome

    SessionBeanType<T> removeHome()

  Removes the `home` element

  Returns:
    the current instance of `SessionBeanType`

### getHome

    java.lang.String getHome()

  Returns the `home` element

  Returns:
    the node defined for the element `home`

### setRemote

    SessionBeanType<T> setRemote(java.lang.String remote)

  If not already created, a new `remote` element with the given value will be created. Otherwise, the existing `remote` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeRemote

    SessionBeanType<T> removeRemote()

  Removes the `remote` element

  Returns:
    the current instance of `SessionBeanType`

### getRemote

    java.lang.String getRemote()

  Returns the `remote` element

  Returns:
    the node defined for the element `remote`

### setLocalHome

    SessionBeanType<T> setLocalHome(java.lang.String localHome)

  If not already created, a new `local-home` element with the given value will be created. Otherwise, the existing `local-home` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeLocalHome

    SessionBeanType<T> removeLocalHome()

  Removes the `local-home` element

  Returns:
    the current instance of `SessionBeanType`

### getLocalHome

    java.lang.String getLocalHome()

  Returns the `local-home` element

  Returns:
    the node defined for the element `local-home`

### setLocal

    SessionBeanType<T> setLocal(java.lang.String local)

  If not already created, a new `local` element with the given value will be created. Otherwise, the existing `local` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeLocal

    SessionBeanType<T> removeLocal()

  Removes the `local` element

  Returns:
    the current instance of `SessionBeanType`

### getLocal

    java.lang.String getLocal()

  Returns the `local` element

  Returns:
    the node defined for the element `local`

### setBusinessLocal

    SessionBeanType<T> setBusinessLocal(java.lang.String businessLocal)

  Creates a new `business-local` element

  Returns:
    the current instance of `SessionBeanType`

### setBusinessLocalList

    SessionBeanType<T> setBusinessLocalList(java.lang.String... values)

  Creates for all String objects representing `business-local` elements, a new `business-local` element

  Parameters:
    `list` - of `business-local` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllBusinessLocal

    SessionBeanType<T> removeAllBusinessLocal()

  Removes the `business-local` element

  Returns:
    the current instance of `SessionBeanType`

### getBusinessLocalList

    java.util.List<java.lang.String> getBusinessLocalList()

  Returns all `business-local` elements

  Returns:
    list of `business-local`

### setBusinessRemote

    SessionBeanType<T> setBusinessRemote(java.lang.String businessRemote)

  Creates a new `business-remote` element

  Returns:
    the current instance of `SessionBeanType`

### setBusinessRemoteList

    SessionBeanType<T> setBusinessRemoteList(java.lang.String... values)

  Creates for all String objects representing `business-remote` elements, a new `business-remote` element

  Parameters:
    `list` - of `business-remote` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllBusinessRemote

    SessionBeanType<T> removeAllBusinessRemote()

  Removes the `business-remote` element

  Returns:
    the current instance of `SessionBeanType`

### getBusinessRemoteList

    java.util.List<java.lang.String> getBusinessRemoteList()

  Returns all `business-remote` elements

  Returns:
    list of `business-remote`

### localBean

    SessionBeanType<T> localBean()

### isLocalBean

    java.lang.Boolean isLocalBean()

### setServiceEndpoint

    SessionBeanType<T> setServiceEndpoint(java.lang.String serviceEndpoint)

  If not already created, a new `service-endpoint` element with the given value will be created. Otherwise, the existing `service-endpoint` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeServiceEndpoint

    SessionBeanType<T> removeServiceEndpoint()

  Removes the `service-endpoint` element

  Returns:
    the current instance of `SessionBeanType`

### getServiceEndpoint

    java.lang.String getServiceEndpoint()

  Returns the `service-endpoint` element

  Returns:
    the node defined for the element `service-endpoint`

### setEjbClass

    SessionBeanType<T> setEjbClass(java.lang.String ejbClass)

  If not already created, a new `ejb-class` element with the given value will be created. Otherwise, the existing `ejb-class` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### removeEjbClass

    SessionBeanType<T> removeEjbClass()

  Removes the `ejb-class` element

  Returns:
    the current instance of `SessionBeanType`

### getEjbClass

    java.lang.String getEjbClass()

  Returns the `ejb-class` element

  Returns:
    the node defined for the element `ejb-class`

### setSessionType

    SessionBeanType<T> setSessionType(SessionTypeType sessionType)

  If not already created, a new `session-type` element with the given value will be created. Otherwise, the existing `session-type` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### setSessionType

    SessionBeanType<T> setSessionType(java.lang.String sessionType)

  If not already created, a new `session-type` element with the given value will be created. Otherwise, the existing `session-type` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### getSessionType

    SessionTypeType getSessionType()

  Returns the `session-type` element

  Returns:
    the node defined for the element `session-type`

### getSessionTypeAsString

    java.lang.String getSessionTypeAsString()

  Returns the `session-type` element

  Returns:
    the node defined for the element `session-type`

### removeStatefulTimeout

    SessionBeanType<T> removeStatefulTimeout()

  Removes the `stateful-timeout` element

  Returns:
    the current instance of `SessionBeanType`

### statefulTimeout

    StatefulTimeoutType<SessionBeanType<T>> statefulTimeout()

  If not already created, a new `stateful-timeout` element will be created and returned. Otherwise, the existing `stateful-timeout` element will be returned.

  Returns:
    the node defined for the element `stateful-timeout`

### removeTimeoutMethod

    SessionBeanType<T> removeTimeoutMethod()

  Removes the `timeout-method` element

  Returns:
    the current instance of `SessionBeanType`

### timeoutMethod

    NamedMethodType<SessionBeanType<T>> timeoutMethod()

  If not already created, a new `timeout-method` element will be created and returned. Otherwise, the existing `timeout-method` element will be returned.

  Returns:
    the node defined for the element `timeout-method`

### removeAllTimer

    SessionBeanType<T> removeAllTimer()

  Removes all `timer` elements

  Returns:
    the current instance of `SessionBeanType`

### timer

    TimerType<SessionBeanType<T>> timer()

  Returns the `timer` element

  Returns:
    the node defined for the element `timer`

### getTimerList

    java.util.List<TimerType<SessionBeanType<T>>> getTimerList()

  Returns all `timer` elements

  Returns:
    list of `timer`

### setInitOnStartup

    SessionBeanType<T> setInitOnStartup(java.lang.Boolean initOnStartup)

  If not already created, a new `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.

  Returns:
    the current instance of `SessionBeanType`

### removeInitOnStartup

    SessionBeanType<T> removeInitOnStartup()

  Removes the `init-on-startup` element

  Returns:
    the current instance of `SessionBeanType`

### isInitOnStartup

    java.lang.Boolean isInitOnStartup()

  Returns the `init-on-startup` element

  Returns:
    the node defined for the element `init-on-startup`

### setConcurrencyManagementType

    SessionBeanType<T> setConcurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType)

  If not already created, a new `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.

  Returns:
    the current instance of `SessionBeanType`

### setConcurrencyManagementType

    SessionBeanType<T> setConcurrencyManagementType(java.lang.String concurrencyManagementType)

  If not already created, a new `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.

  Returns:
    the current instance of `SessionBeanType`

### getConcurrencyManagementType

    ConcurrencyManagementTypeType getConcurrencyManagementType()

  Returns the `concurrency-management-type` element

  Returns:
    the node defined for the element `concurrency-management-type`

### getConcurrencyManagementTypeAsString

    java.lang.String getConcurrencyManagementTypeAsString()

  Returns the `concurrency-management-type` element

  Returns:
    the node defined for the element `concurrency-management-type`

### removeAllConcurrentMethod

    SessionBeanType<T> removeAllConcurrentMethod()

  Removes all `concurrent-method` elements

  Returns:
    the current instance of `SessionBeanType`

### concurrentMethod

    ConcurrentMethodType<SessionBeanType<T>> concurrentMethod()

  Returns the `concurrent-method` element

  Returns:
    the node defined for the element `concurrent-method`

### getConcurrentMethodList

    java.util.List<ConcurrentMethodType<SessionBeanType<T>>> getConcurrentMethodList()

  Returns all `concurrent-method` elements

  Returns:
    list of `concurrent-method`

### removeDependsOn

    SessionBeanType<T> removeDependsOn()

  Removes the `depends-on` element

  Returns:
    the current instance of `SessionBeanType`

### dependsOn

    DependsOnType<SessionBeanType<T>> dependsOn()

  If not already created, a new `depends-on` element will be created and returned. Otherwise, the existing `depends-on` element will be returned.

  Returns:
    the node defined for the element `depends-on`

### removeAllInitMethod

    SessionBeanType<T> removeAllInitMethod()

  Removes all `init-method` elements

  Returns:
    the current instance of `SessionBeanType`

### initMethod

    InitMethodType<SessionBeanType<T>> initMethod()

  Returns the `init-method` element

  Returns:
    the node defined for the element `init-method`

### getInitMethodList

    java.util.List<InitMethodType<SessionBeanType<T>>> getInitMethodList()

  Returns all `init-method` elements

  Returns:
    list of `init-method`

### removeAllRemoveMethod

    SessionBeanType<T> removeAllRemoveMethod()

  Removes all `remove-method` elements

  Returns:
    the current instance of `SessionBeanType`

### removeMethod

    RemoveMethodType<SessionBeanType<T>> removeMethod()

  Returns the `remove-method` element

  Returns:
    the node defined for the element `remove-method`

### getRemoveMethodList

    java.util.List<RemoveMethodType<SessionBeanType<T>>> getRemoveMethodList()

  Returns all `remove-method` elements

  Returns:
    list of `remove-method`

### removeAllAsyncMethod

    SessionBeanType<T> removeAllAsyncMethod()

  Removes all `async-method` elements

  Returns:
    the current instance of `SessionBeanType`

### asyncMethod

    AsyncMethodType<SessionBeanType<T>> asyncMethod()

  Returns the `async-method` element

  Returns:
    the node defined for the element `async-method`

### getAsyncMethodList

    java.util.List<AsyncMethodType<SessionBeanType<T>>> getAsyncMethodList()

  Returns all `async-method` elements

  Returns:
    list of `async-method`

### setTransactionType

    SessionBeanType<T> setTransactionType(TransactionTypeType transactionType)

  If not already created, a new `transaction-type` element with the given value will be created. Otherwise, the existing `transaction-type` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### setTransactionType

    SessionBeanType<T> setTransactionType(java.lang.String transactionType)

  If not already created, a new `transaction-type` element with the given value will be created. Otherwise, the existing `transaction-type` element will be updated with the given value.

  Returns:
    the current instance of `SessionBeanType`

### getTransactionType

    TransactionTypeType getTransactionType()

  Returns the `transaction-type` element

  Returns:
    the node defined for the element `transaction-type`

### getTransactionTypeAsString

    java.lang.String getTransactionTypeAsString()

  Returns the `transaction-type` element

  Returns:
    the node defined for the element `transaction-type`

### removeAfterBeginMethod

    SessionBeanType<T> removeAfterBeginMethod()

  Removes the `after-begin-method` element

  Returns:
    the current instance of `SessionBeanType`

### afterBeginMethod

    NamedMethodType<SessionBeanType<T>> afterBeginMethod()

  If not already created, a new `after-begin-method` element will be created and returned. Otherwise, the existing `after-begin-method` element will be returned.

  Returns:
    the node defined for the element `after-begin-method`

### removeBeforeCompletionMethod

    SessionBeanType<T> removeBeforeCompletionMethod()

  Removes the `before-completion-method` element

  Returns:
    the current instance of `SessionBeanType`

### beforeCompletionMethod

    NamedMethodType<SessionBeanType<T>> beforeCompletionMethod()

  If not already created, a new `before-completion-method` element will be created and returned. Otherwise, the existing `before-completion-method` element will be returned.

  Returns:
    the node defined for the element `before-completion-method`

### removeAfterCompletionMethod

    SessionBeanType<T> removeAfterCompletionMethod()

  Removes the `after-completion-method` element

  Returns:
    the current instance of `SessionBeanType`

### afterCompletionMethod

    NamedMethodType<SessionBeanType<T>> afterCompletionMethod()

  If not already created, a new `after-completion-method` element will be created and returned. Otherwise, the existing `after-completion-method` element will be returned.

  Returns:
    the node defined for the element `after-completion-method`

### removeAllAroundInvoke

    SessionBeanType<T> removeAllAroundInvoke()

  Removes all `around-invoke` elements

  Returns:
    the current instance of `SessionBeanType`

### aroundInvoke

    AroundInvokeType<SessionBeanType<T>> aroundInvoke()

  Returns the `around-invoke` element

  Returns:
    the node defined for the element `around-invoke`

### getAroundInvokeList

    java.util.List<AroundInvokeType<SessionBeanType<T>>> getAroundInvokeList()

  Returns all `around-invoke` elements

  Returns:
    list of `around-invoke`

### removeAllAroundTimeout

    SessionBeanType<T> removeAllAroundTimeout()

  Removes all `around-timeout` elements

  Returns:
    the current instance of `SessionBeanType`

### aroundTimeout

    AroundTimeoutType<SessionBeanType<T>> aroundTimeout()

  Returns the `around-timeout` element

  Returns:
    the node defined for the element `around-timeout`

### getAroundTimeoutList

    java.util.List<AroundTimeoutType<SessionBeanType<T>>> getAroundTimeoutList()

  Returns all `around-timeout` elements

  Returns:
    list of `around-timeout`

### removeAllPostActivate

    SessionBeanType<T> removeAllPostActivate()

  Removes all `post-activate` elements

  Returns:
    the current instance of `SessionBeanType`

### postActivate

    LifecycleCallbackType<SessionBeanType<T>> postActivate()

  Returns the `post-activate` element

  Returns:
    the node defined for the element `post-activate`

### getPostActivateList

    java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostActivateList()

  Returns all `post-activate` elements

  Returns:
    list of `post-activate`

### removeAllPrePassivate

    SessionBeanType<T> removeAllPrePassivate()

  Removes all `pre-passivate` elements

  Returns:
    the current instance of `SessionBeanType`

### prePassivate

    LifecycleCallbackType<SessionBeanType<T>> prePassivate()

  Returns the `pre-passivate` element

  Returns:
    the node defined for the element `pre-passivate`

### getPrePassivateList

    java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPrePassivateList()

  Returns all `pre-passivate` elements

  Returns:
    list of `pre-passivate`

### removeAllSecurityRoleRef

    SessionBeanType<T> removeAllSecurityRoleRef()

  Removes all `security-role-ref` elements

  Returns:
    the current instance of `SessionBeanType`

### securityRoleRef

    SecurityRoleRefType<SessionBeanType<T>> securityRoleRef()

  Returns the `security-role-ref` element

  Returns:
    the node defined for the element `security-role-ref`

### getSecurityRoleRefList

    java.util.List<SecurityRoleRefType<SessionBeanType<T>>> getSecurityRoleRefList()

  Returns all `security-role-ref` elements

  Returns:
    list of `security-role-ref`

### removeSecurityIdentity

    SessionBeanType<T> removeSecurityIdentity()

  Removes the `security-identity` element

  Returns:
    the current instance of `SessionBeanType`

### securityIdentity

    SecurityIdentityType<SessionBeanType<T>> securityIdentity()

  If not already created, a new `security-identity` element will be created and returned. Otherwise, the existing `security-identity` element will be returned.

  Returns:
    the node defined for the element `security-identity`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD