|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionBeanType
A representation of the model object 'Session Bean Type'. 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.
The following features are supported:
Description
Display Name
Icon
Ejb Name
Mapped Name
Home
Remote
Local Home
Local
Business Local
Business Remote
Local Bean
Service Endpoint
Ejb Class
Session Type
Stateful Timeout
Timeout Method
Timer
Init On Startup
Concurrency Management Type
Concurrent Method
Depends On
Init Method
Remove Method
Async Method
Transaction Type
After Begin Method
Before Completion Method
After Completion Method
Around Invoke
Around Timeout
Env Entry
Ejb Ref
Ejb Local Ref
Service Ref
Resource Ref
Resource Env Ref
Message Destination Ref
Persistence Context Ref
Persistence Unit Ref
Post Construct
Pre Destroy
Data Source
Post Activate
Pre Passivate
Security Role Ref
Security Identity
Id
EjbJar31Package.getSessionBeanType()
Method Summary | |
---|---|
NamedMethodType |
getAfterBeginMethod()
Returns the value of the 'After Begin Method' containment reference. |
NamedMethodType |
getAfterCompletionMethod()
Returns the value of the 'After Completion Method' containment reference. |
|
getAroundInvoke()
Returns the value of the 'Around Invoke' containment reference list. |
|
getAroundTimeout()
Returns the value of the 'Around Timeout' containment reference list. |
|
getAsyncMethod()
Returns the value of the 'Async Method' containment reference list. |
NamedMethodType |
getBeforeCompletionMethod()
Returns the value of the 'Before Completion Method' containment reference. |
|
getBusinessLocal()
Returns the value of the 'Business Local' containment reference list. |
|
getBusinessRemote()
Returns the value of the 'Business Remote' containment reference list. |
ConcurrencyManagementTypeType |
getConcurrencyManagementType()
Returns the value of the 'Concurrency Management Type' containment reference. |
|
getConcurrentMethod()
Returns the value of the 'Concurrent Method' containment reference list. |
|
getDataSource()
Returns the value of the 'Data Source' containment reference list. |
DependsOnType |
getDependsOn()
Returns the value of the 'Depends On' containment reference. |
|
getDescription()
Returns the value of the 'Description' containment reference list. |
|
getDisplayName()
Returns the value of the 'Display Name' containment reference list. |
EjbClassType |
getEjbClass()
Returns the value of the 'Ejb Class' containment reference. |
|
getEjbLocalRef()
Returns the value of the 'Ejb Local Ref' containment reference list. |
EjbNameType |
getEjbName()
Returns the value of the 'Ejb Name' containment reference. |
|
getEjbRef()
Returns the value of the 'Ejb Ref' containment reference list. |
|
getEnvEntry()
Returns the value of the 'Env Entry' containment reference list. |
HomeType |
getHome()
Returns the value of the 'Home' containment reference. |
|
getIcon()
Returns the value of the 'Icon' containment reference list. |
java.lang.String |
getId()
Returns the value of the 'Id' attribute. |
|
getInitMethod()
Returns the value of the 'Init Method' containment reference list. |
TrueFalseType |
getInitOnStartup()
Returns the value of the 'Init On Startup' containment reference. |
LocalType |
getLocal()
Returns the value of the 'Local' containment reference. |
EmptyType |
getLocalBean()
Returns the value of the 'Local Bean' containment reference. |
LocalHomeType |
getLocalHome()
Returns the value of the 'Local Home' containment reference. |
XsdStringType |
getMappedName()
Returns the value of the 'Mapped Name' containment reference. |
|
getMessageDestinationRef()
Returns the value of the 'Message Destination Ref' containment reference list. |
|
getPersistenceContextRef()
Returns the value of the 'Persistence Context Ref' containment reference list. |
|
getPersistenceUnitRef()
Returns the value of the 'Persistence Unit Ref' containment reference list. |
|
getPostActivate()
Returns the value of the 'Post Activate' containment reference list. |
|
getPostConstruct()
Returns the value of the 'Post Construct' containment reference list. |
|
getPreDestroy()
Returns the value of the 'Pre Destroy' containment reference list. |
|
getPrePassivate()
Returns the value of the 'Pre Passivate' containment reference list. |
RemoteType |
getRemote()
Returns the value of the 'Remote' containment reference. |
|
getRemoveMethod()
Returns the value of the 'Remove Method' containment reference list. |
|
getResourceEnvRef()
Returns the value of the 'Resource Env Ref' containment reference list. |
|
getResourceRef()
Returns the value of the 'Resource Ref' containment reference list. |
SecurityIdentityType |
getSecurityIdentity()
Returns the value of the 'Security Identity' containment reference. |
|
getSecurityRoleRef()
Returns the value of the 'Security Role Ref' containment reference list. |
FullyQualifiedClassType |
getServiceEndpoint()
Returns the value of the 'Service Endpoint' containment reference. |
|
getServiceRef()
Returns the value of the 'Service Ref' containment reference list. |
SessionTypeType |
getSessionType()
Returns the value of the 'Session Type' containment reference. |
StatefulTimeoutType |
getStatefulTimeout()
Returns the value of the 'Stateful Timeout' containment reference. |
NamedMethodType |
getTimeoutMethod()
Returns the value of the 'Timeout Method' containment reference. |
|
getTimer()
Returns the value of the 'Timer' containment reference list. |
TransactionTypeType |
getTransactionType()
Returns the value of the 'Transaction Type' containment reference. |
void |
setAfterBeginMethod(NamedMethodType value)
Sets the value of the ' After Begin Method ' containment reference. |
void |
setAfterCompletionMethod(NamedMethodType value)
Sets the value of the ' After Completion Method ' containment reference. |
void |
setBeforeCompletionMethod(NamedMethodType value)
Sets the value of the ' Before Completion Method ' containment reference. |
void |
setConcurrencyManagementType(ConcurrencyManagementTypeType value)
Sets the value of the ' Concurrency Management Type ' containment reference. |
void |
setDependsOn(DependsOnType value)
Sets the value of the ' Depends On ' containment reference. |
void |
setEjbClass(EjbClassType value)
Sets the value of the ' Ejb Class ' containment reference. |
void |
setEjbName(EjbNameType value)
Sets the value of the ' Ejb Name ' containment reference. |
void |
setHome(HomeType value)
Sets the value of the ' Home ' containment reference. |
void |
setId(java.lang.String value)
Sets the value of the ' Id ' attribute. |
void |
setInitOnStartup(TrueFalseType value)
Sets the value of the ' Init On Startup ' containment reference. |
void |
setLocal(LocalType value)
Sets the value of the ' Local ' containment reference. |
void |
setLocalBean(EmptyType value)
Sets the value of the ' Local Bean ' containment reference. |
void |
setLocalHome(LocalHomeType value)
Sets the value of the ' Local Home ' containment reference. |
void |
setMappedName(XsdStringType value)
Sets the value of the ' Mapped Name ' containment reference. |
void |
setRemote(RemoteType value)
Sets the value of the ' Remote ' containment reference. |
void |
setSecurityIdentity(SecurityIdentityType value)
Sets the value of the ' Security Identity ' containment reference. |
void |
setServiceEndpoint(FullyQualifiedClassType value)
Sets the value of the ' Service Endpoint ' containment reference. |
void |
setSessionType(SessionTypeType value)
Sets the value of the ' Session Type ' containment reference. |
void |
setStatefulTimeout(StatefulTimeoutType value)
Sets the value of the ' Stateful Timeout ' containment reference. |
void |
setTimeoutMethod(NamedMethodType value)
Sets the value of the ' Timeout Method ' containment reference. |
void |
setTransactionType(TransactionTypeType value)
Sets the value of the ' Transaction Type ' containment reference. |
Method Detail |
---|
getDescription()
DescriptionType
.
If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_Description()
getDisplayName()
DisplayNameType
.
If the meaning of the 'Display Name' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_DisplayName()
getIcon()
IconType
.
If the meaning of the 'Icon' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_Icon()
EjbNameType getEjbName()
If the meaning of the 'Ejb Name' containment reference isn't clear, there really should be more of a description here...
setEjbName(EjbNameType)
,
EjbJar31Package.getSessionBeanType_EjbName()
void setEjbName(EjbNameType value)
Ejb Name
' containment reference.
value
- the new value of the 'Ejb Name' containment reference.getEjbName()
XsdStringType getMappedName()
If the meaning of the 'Mapped Name' containment reference isn't clear, there really should be more of a description here...
setMappedName(XsdStringType)
,
EjbJar31Package.getSessionBeanType_MappedName()
void setMappedName(XsdStringType value)
Mapped Name
' containment reference.
value
- the new value of the 'Mapped Name' containment reference.getMappedName()
HomeType getHome()
If the meaning of the 'Home' containment reference isn't clear, there really should be more of a description here...
setHome(HomeType)
,
EjbJar31Package.getSessionBeanType_Home()
void setHome(HomeType value)
Home
' containment reference.
value
- the new value of the 'Home' containment reference.getHome()
RemoteType getRemote()
If the meaning of the 'Remote' containment reference isn't clear, there really should be more of a description here...
setRemote(RemoteType)
,
EjbJar31Package.getSessionBeanType_Remote()
void setRemote(RemoteType value)
Remote
' containment reference.
value
- the new value of the 'Remote' containment reference.getRemote()
LocalHomeType getLocalHome()
If the meaning of the 'Local Home' containment reference isn't clear, there really should be more of a description here...
setLocalHome(LocalHomeType)
,
EjbJar31Package.getSessionBeanType_LocalHome()
void setLocalHome(LocalHomeType value)
Local Home
' containment reference.
value
- the new value of the 'Local Home' containment reference.getLocalHome()
LocalType getLocal()
If the meaning of the 'Local' containment reference isn't clear, there really should be more of a description here...
setLocal(LocalType)
,
EjbJar31Package.getSessionBeanType_Local()
void setLocal(LocalType value)
Local
' containment reference.
value
- the new value of the 'Local' containment reference.getLocal()
getBusinessLocal()
FullyQualifiedClassType
.
If the meaning of the 'Business Local' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_BusinessLocal()
getBusinessRemote()
FullyQualifiedClassType
.
If the meaning of the 'Business Remote' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_BusinessRemote()
EmptyType getLocalBean()
setLocalBean(EmptyType)
,
EjbJar31Package.getSessionBeanType_LocalBean()
void setLocalBean(EmptyType value)
Local Bean
' containment reference.
value
- the new value of the 'Local Bean' containment reference.getLocalBean()
FullyQualifiedClassType getServiceEndpoint()
setServiceEndpoint(FullyQualifiedClassType)
,
EjbJar31Package.getSessionBeanType_ServiceEndpoint()
void setServiceEndpoint(FullyQualifiedClassType value)
Service Endpoint
' containment reference.
value
- the new value of the 'Service Endpoint' containment reference.getServiceEndpoint()
EjbClassType getEjbClass()
setEjbClass(EjbClassType)
,
EjbJar31Package.getSessionBeanType_EjbClass()
void setEjbClass(EjbClassType value)
Ejb Class
' containment reference.
value
- the new value of the 'Ejb Class' containment reference.getEjbClass()
SessionTypeType getSessionType()
If the meaning of the 'Session Type' containment reference isn't clear, there really should be more of a description here...
setSessionType(SessionTypeType)
,
EjbJar31Package.getSessionBeanType_SessionType()
void setSessionType(SessionTypeType value)
Session Type
' containment reference.
value
- the new value of the 'Session Type' containment reference.getSessionType()
StatefulTimeoutType getStatefulTimeout()
If the meaning of the 'Stateful Timeout' containment reference isn't clear, there really should be more of a description here...
setStatefulTimeout(StatefulTimeoutType)
,
EjbJar31Package.getSessionBeanType_StatefulTimeout()
void setStatefulTimeout(StatefulTimeoutType value)
Stateful Timeout
' containment reference.
value
- the new value of the 'Stateful Timeout' containment reference.getStatefulTimeout()
NamedMethodType getTimeoutMethod()
setTimeoutMethod(NamedMethodType)
,
EjbJar31Package.getSessionBeanType_TimeoutMethod()
void setTimeoutMethod(NamedMethodType value)
Timeout Method
' containment reference.
value
- the new value of the 'Timeout Method' containment reference.getTimeoutMethod()
getTimer()
TimerType
.
If the meaning of the 'Timer' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_Timer()
TrueFalseType getInitOnStartup()
setInitOnStartup(TrueFalseType)
,
EjbJar31Package.getSessionBeanType_InitOnStartup()
void setInitOnStartup(TrueFalseType value)
Init On Startup
' containment reference.
value
- the new value of the 'Init On Startup' containment reference.getInitOnStartup()
ConcurrencyManagementTypeType getConcurrencyManagementType()
If the meaning of the 'Concurrency Management Type' containment reference isn't clear, there really should be more of a description here...
setConcurrencyManagementType(ConcurrencyManagementTypeType)
,
EjbJar31Package.getSessionBeanType_ConcurrencyManagementType()
void setConcurrencyManagementType(ConcurrencyManagementTypeType value)
Concurrency Management Type
' containment reference.
value
- the new value of the 'Concurrency Management Type' containment reference.getConcurrencyManagementType()
getConcurrentMethod()
ConcurrentMethodType
.
If the meaning of the 'Concurrent Method' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_ConcurrentMethod()
DependsOnType getDependsOn()
If the meaning of the 'Depends On' containment reference isn't clear, there really should be more of a description here...
setDependsOn(DependsOnType)
,
EjbJar31Package.getSessionBeanType_DependsOn()
void setDependsOn(DependsOnType value)
Depends On
' containment reference.
value
- the new value of the 'Depends On' containment reference.getDependsOn()
getInitMethod()
InitMethodType
.
The init-method element specifies the mappings for
EJB 2.x style create methods for an EJB 3.x bean.
This element can only be specified for stateful
session beans.
EjbJar31Package.getSessionBeanType_InitMethod()
getRemoveMethod()
RemoveMethodType
.
The remove-method element specifies the mappings for
EJB 2.x style remove methods for an EJB 3.x bean.
This element can only be specified for stateful
session beans.
EjbJar31Package.getSessionBeanType_RemoveMethod()
getAsyncMethod()
AsyncMethodType
.
If the meaning of the 'Async Method' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_AsyncMethod()
TransactionTypeType getTransactionType()
If the meaning of the 'Transaction Type' containment reference isn't clear, there really should be more of a description here...
setTransactionType(TransactionTypeType)
,
EjbJar31Package.getSessionBeanType_TransactionType()
void setTransactionType(TransactionTypeType value)
Transaction Type
' containment reference.
value
- the new value of the 'Transaction Type' containment reference.getTransactionType()
NamedMethodType getAfterBeginMethod()
If the meaning of the 'After Begin Method' containment reference isn't clear, there really should be more of a description here...
setAfterBeginMethod(NamedMethodType)
,
EjbJar31Package.getSessionBeanType_AfterBeginMethod()
void setAfterBeginMethod(NamedMethodType value)
After Begin Method
' containment reference.
value
- the new value of the 'After Begin Method' containment reference.getAfterBeginMethod()
NamedMethodType getBeforeCompletionMethod()
If the meaning of the 'Before Completion Method' containment reference isn't clear, there really should be more of a description here...
setBeforeCompletionMethod(NamedMethodType)
,
EjbJar31Package.getSessionBeanType_BeforeCompletionMethod()
void setBeforeCompletionMethod(NamedMethodType value)
Before Completion Method
' containment reference.
value
- the new value of the 'Before Completion Method' containment reference.getBeforeCompletionMethod()
NamedMethodType getAfterCompletionMethod()
If the meaning of the 'After Completion Method' containment reference isn't clear, there really should be more of a description here...
setAfterCompletionMethod(NamedMethodType)
,
EjbJar31Package.getSessionBeanType_AfterCompletionMethod()
void setAfterCompletionMethod(NamedMethodType value)
After Completion Method
' containment reference.
value
- the new value of the 'After Completion Method' containment reference.getAfterCompletionMethod()
getAroundInvoke()
AroundInvokeType
.
If the meaning of the 'Around Invoke' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_AroundInvoke()
getAroundTimeout()
AroundTimeoutType
.
If the meaning of the 'Around Timeout' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_AroundTimeout()
getEnvEntry()
EnvEntryType
.
If the meaning of the 'Env Entry' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_EnvEntry()
getEjbRef()
EjbRefType
.
If the meaning of the 'Ejb Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_EjbRef()
getEjbLocalRef()
EjbLocalRefType
.
If the meaning of the 'Ejb Local Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_EjbLocalRef()
getServiceRef()
ServiceRefType
.
If the meaning of the 'Service Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_ServiceRef()
getResourceRef()
ResourceRefType
.
If the meaning of the 'Resource Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_ResourceRef()
getResourceEnvRef()
ResourceEnvRefType
.
If the meaning of the 'Resource Env Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_ResourceEnvRef()
getMessageDestinationRef()
MessageDestinationRefType
.
If the meaning of the 'Message Destination Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_MessageDestinationRef()
getPersistenceContextRef()
PersistenceContextRefType
.
If the meaning of the 'Persistence Context Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PersistenceContextRef()
getPersistenceUnitRef()
PersistenceUnitRefType
.
If the meaning of the 'Persistence Unit Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PersistenceUnitRef()
getPostConstruct()
LifecycleCallbackType
.
If the meaning of the 'Post Construct' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PostConstruct()
getPreDestroy()
LifecycleCallbackType
.
If the meaning of the 'Pre Destroy' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PreDestroy()
getDataSource()
DataSourceType
.
If the meaning of the 'Data Source' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_DataSource()
getPostActivate()
LifecycleCallbackType
.
If the meaning of the 'Post Activate' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PostActivate()
getPrePassivate()
LifecycleCallbackType
.
If the meaning of the 'Pre Passivate' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_PrePassivate()
getSecurityRoleRef()
SecurityRoleRefType
.
If the meaning of the 'Security Role Ref' containment reference list isn't clear, there really should be more of a description here...
EjbJar31Package.getSessionBeanType_SecurityRoleRef()
SecurityIdentityType getSecurityIdentity()
If the meaning of the 'Security Identity' containment reference isn't clear, there really should be more of a description here...
setSecurityIdentity(SecurityIdentityType)
,
EjbJar31Package.getSessionBeanType_SecurityIdentity()
void setSecurityIdentity(SecurityIdentityType value)
Security Identity
' containment reference.
value
- the new value of the 'Security Identity' containment reference.getSecurityIdentity()
java.lang.String getId()
If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
setId(String)
,
EjbJar31Package.getSessionBeanType_Id()
void setId(java.lang.String value)
Id
' attribute.
value
- the new value of the 'Id' attribute.getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |