|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The session element declares an session bean. The declaration consists of: an optional description; optional display name; optional small icon file name; optional large icon file name; a name assigned to the enterprise bean in the deployment description; the names of the session bean's home and remote interfaces, if any; the names of the session bean's local home and local interfaces, if any; the session bean's implementation class; the session bean's state management type; the session bean's transaction management type; 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 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; and an optional declaration of the bean's resource environment references. The elements that are optional are "optional" in the sense that they are omitted when if lists represented by them are empty.
Method Summary | |
---|---|
JavaClass |
getServiceEndpoint()
Returns the value of the 'Service Endpoint' reference |
java.lang.String |
getServiceEndpointName()
Helper method to get Java Class name |
SessionType |
getSessionType()
|
TransactionType |
getTransactionType()
|
boolean |
hasServiceEndpoint()
Return true if this Session bean has a service endpoint interface interface. |
boolean |
isSetSessionType()
Returns whether the value of the ' Session Type ' attribute is set |
boolean |
isSetTransactionType()
Returns whether the value of the ' Transaction Type ' attribute is set |
void |
setServiceEndpoint(JavaClass value)
Sets the value of the ' Service Endpoint ' reference |
void |
setServiceEndpointName(java.lang.String serviceEndpointName)
Helper method to set Java Class name via String |
void |
setSessionType(SessionType value)
Sets the value of the ' Session Type ' attribute |
void |
setTransactionType(TransactionType value)
Sets the value of the ' Transaction Type ' attribute |
void |
unsetSessionType()
Unsets the value of the ' Session Type ' attribute |
void |
unsetTransactionType()
Unsets the value of the ' Transaction Type ' attribute |
Methods inherited from interface org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup |
---|
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs |
Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup |
---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen |
Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup |
---|
getDescriptions, getDisplayNames, getIcons |
Method Detail |
public TransactionType getTransactionType()
public void setTransactionType(TransactionType value)
Transaction Type
' attribute.
value
- the new value of the 'Transaction Type' attribute.TransactionType
,
isSetTransactionType()
,
unsetTransactionType()
,
getTransactionType()
public void unsetTransactionType()
Transaction Type
' attribute.
isSetTransactionType()
,
getTransactionType()
,
setTransactionType(TransactionType)
public boolean isSetTransactionType()
Transaction Type
' attribute is set.
unsetTransactionType()
,
getTransactionType()
,
setTransactionType(TransactionType)
public SessionType getSessionType()
public void setSessionType(SessionType value)
Session Type
' attribute.
value
- the new value of the 'Session Type' attribute.SessionType
,
isSetSessionType()
,
unsetSessionType()
,
getSessionType()
public void unsetSessionType()
Session Type
' attribute.
isSetSessionType()
,
getSessionType()
,
setSessionType(SessionType)
public boolean isSetSessionType()
Session Type
' attribute is set.
unsetSessionType()
,
getSessionType()
,
setSessionType(SessionType)
public JavaClass getServiceEndpoint()
If the meaning of the 'Service Endpoint' reference isn't clear, there really should be more of a description here...
setServiceEndpoint(JavaClass)
,
EjbPackage.getSession_ServiceEndpoint()
public void setServiceEndpoint(JavaClass value)
Service Endpoint
' reference.
value
- the new value of the 'Service Endpoint' reference.getServiceEndpoint()
public void setServiceEndpointName(java.lang.String serviceEndpointName)
serviceEndpointName
- the name of the ServiceEndpointpublic boolean hasServiceEndpoint()
public java.lang.String getServiceEndpointName()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |