|
||||||||||
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 - 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 the session bean's timeout method. - the optional session bean's transaction management type. If it is not present, it is defaulted to Container. - an optional list of the session bean class and/or superclass around-invoke 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. Either both the local-home and the local elements or both the home and the remote elements must be specified for the session bean. 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
Service Endpoint
Ejb Class
Session Type
Timeout Method
Init Method
Remove Method
Transaction Type
Around Invoke
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
Post Activate
Pre Passivate
Security Role Ref
Security Identity
Id
EjbJar30Package.getSessionBeanType()
Method Summary | |
---|---|
|
getAroundInvoke()
Returns the value of the 'Around Invoke' containment reference list. |
|
getBusinessLocal()
Returns the value of the 'Business Local' containment reference list. |
|
getBusinessRemote()
Returns the value of the 'Business Remote' containment reference list. |
|
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. |
LocalType |
getLocal()
Returns the value of the 'Local' 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. |
NamedMethodType |
getTimeoutMethod()
Returns the value of the 'Timeout Method' containment reference. |
TransactionTypeType |
getTransactionType()
Returns the value of the 'Transaction Type' 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 |
setLocal(LocalType value)
Sets the value of the ' Local ' 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 |
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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.getSessionBeanType_BusinessRemote()
FullyQualifiedClassType getServiceEndpoint()
setServiceEndpoint(FullyQualifiedClassType)
,
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.getSessionBeanType_SessionType()
void setSessionType(SessionTypeType value)
Session Type
' containment reference.
value
- the new value of the 'Session Type' containment reference.getSessionType()
NamedMethodType getTimeoutMethod()
If the meaning of the 'Timeout Method' containment reference isn't clear, there really should be more of a description here...
setTimeoutMethod(NamedMethodType)
,
EjbJar30Package.getSessionBeanType_TimeoutMethod()
void setTimeoutMethod(NamedMethodType value)
Timeout Method
' containment reference.
value
- the new value of the 'Timeout Method' containment reference.getTimeoutMethod()
getInitMethod()
InitMethodType
.
The init-method element specifies the mappings for
EJB 2.x style create methods for an EJB 3.0 bean.
This element can only be specified for stateful
session beans.
EjbJar30Package.getSessionBeanType_InitMethod()
getRemoveMethod()
RemoveMethodType
.
The remove-method element specifies the mappings for
EJB 2.x style remove methods for an EJB 3.0 bean.
This element can only be specified for stateful
session beans.
EjbJar30Package.getSessionBeanType_RemoveMethod()
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)
,
EjbJar30Package.getSessionBeanType_TransactionType()
void setTransactionType(TransactionTypeType value)
Transaction Type
' containment reference.
value
- the new value of the 'Transaction Type' containment reference.getTransactionType()
getAroundInvoke()
AroundInvokeType
.
If the meaning of the 'Around Invoke' containment reference list isn't clear, there really should be more of a description here...
EjbJar30Package.getSessionBeanType_AroundInvoke()
getEnvEntry()
EnvEntryType
.
If the meaning of the 'Env Entry' containment reference list isn't clear, there really should be more of a description here...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.getSessionBeanType_PreDestroy()
getPostActivate()
LifecycleCallbackType
.
If the meaning of the 'Post Activate' containment reference list isn't clear, there really should be more of a description here...
EjbJar30Package.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...
EjbJar30Package.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...
EjbJar30Package.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)
,
EjbJar30Package.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)
,
EjbJar30Package.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 |