|
|||||||||
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. |
private java.lang.String |
localHome
Local Home. |
private java.lang.String |
mappedName
Mapped name. |
static java.lang.String |
NAME
Name of this element. |
private java.lang.String |
remoteHome
Remote Home. |
private java.util.List<RemoveMethod> |
removeMethods
List of remove-method (only for stateful beans). |
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. |
void |
addRemoveMethod(RemoveMethod removeMethod)
Add the method used as a remove method. |
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 |
getLocalHome()
Gets the local Home. |
java.lang.String |
getMappedName()
Gets the mapped name. |
java.lang.String |
getRemoteHome()
Gets the remote Home. |
java.util.List<RemoveMethod> |
getRemoveMethodList()
Gets the list of remove methods. |
java.lang.String |
getSessionType()
Gets the session-type. |
java.lang.String |
getTransactionType()
Gets the transaction-type. |
void |
setLocalHome(java.lang.String localHome)
Set the local Home. |
void |
setMappedName(java.lang.String mappedName)
Set the mapped name. |
void |
setRemoteHome(java.lang.String remoteHome)
Set the remote Home. |
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 |
---|
addAroundInvoke, addEJBLocalRef, addEJBRef, addEnvEntry, addPostActivateCallback, addPostConstructCallback, addPreDestroyCallback, addPrePassivateCallback, addResourceEnvRef, addResourceRef, getAroundInvokeList, getEJBLocalRefList, getEJBRefList, getEnvEntryList, getPostActivateCallbackList, getPostConstructCallbackList, getPreDestroyCallbackList, getPrePassivateCallbackList, getResourceEnvRefList, getResourceRefList |
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.util.List<RemoveMethod> removeMethods
private java.lang.String sessionType
private java.lang.String transactionType
private java.lang.String mappedName
private java.lang.String remoteHome
private java.lang.String localHome
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.util.List<RemoveMethod> getRemoveMethodList()
public void addRemoveMethod(RemoveMethod removeMethod)
removeMethod
- the given remove methodpublic 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.public java.lang.String getMappedName()
public void setMappedName(java.lang.String mappedName)
mappedName
- the given mapped name.public java.lang.String getRemoteHome()
public void setRemoteHome(java.lang.String remoteHome)
remoteHome
- the given remote Home.public java.lang.String getLocalHome()
public void setLocalHome(java.lang.String localHome)
localHome
- the given local Home.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |