|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.xml.struct.common.AbsEnvironment
org.objectweb.easybeans.deployment.xml.struct.AbsBean
org.objectweb.easybeans.deployment.xml.struct.Session
public class Session
Defines a representation for <session> element.
Field Summary | |
---|---|
private java.util.List<java.lang.String> |
businessLocalList
business-local interfaces. |
private java.util.List<java.lang.String> |
businessRemoteList
business-remote interfaces. |
static java.lang.String |
NAME
Name of this element. |
private java.lang.String |
sessionType
Type of session bean (stateless/stateful). |
private java.lang.String |
transactionType
Type of transaction. |
Constructor Summary | |
---|---|
Session()
Constructor. |
Method Summary | |
---|---|
void |
addBusinessLocal(java.lang.String businessLocal)
Add the business-local interface. |
void |
addBusinessRemote(java.lang.String businessRemote)
Add the business-remote interface. |
java.util.List<java.lang.String> |
getBusinessLocalList()
Gets the business-local interface list. |
java.util.List<java.lang.String> |
getBusinessRemoteList()
Gets the business-remote interface list. |
java.lang.String |
getSessionType()
Gets the session-type. |
java.lang.String |
getTransactionType()
Gets the transaction-type. |
void |
setSessionType(java.lang.String sessionType)
Set the session-type. |
void |
setTransactionType(java.lang.String transactionType)
Set the transaction-type. |
Methods inherited from class org.objectweb.easybeans.deployment.xml.struct.AbsBean |
---|
getEjbClass, getEjbName, setEjbClass, setEjbName |
Methods inherited from class org.objectweb.easybeans.deployment.xml.struct.common.AbsEnvironment |
---|
addEnvEntry, addPostConstruct, addPreDestroy, getEnvEntryList, getPostConstructList, getPreDestroyList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
private java.util.List<java.lang.String> businessRemoteList
private java.util.List<java.lang.String> businessLocalList
private java.lang.String sessionType
private java.lang.String transactionType
Constructor Detail |
---|
public Session()
Method Detail |
---|
public java.util.List<java.lang.String> getBusinessRemoteList()
public java.util.List<java.lang.String> getBusinessLocalList()
public void addBusinessRemote(java.lang.String businessRemote)
businessRemote
- business-remote interface.public void addBusinessLocal(java.lang.String businessLocal)
businessLocal
- business-remote interface.public java.lang.String getSessionType()
public void setSessionType(java.lang.String sessionType)
sessionType
- the type of session.public java.lang.String getTransactionType()
public void setTransactionType(java.lang.String transactionType)
transactionType
- transaction-type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |