org.objectweb.easybeans.deployment.xml.struct
Class Session

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.common.AbsEnvironment
      extended by org.objectweb.easybeans.deployment.xml.struct.AbsBean
          extended by org.objectweb.easybeans.deployment.xml.struct.Session

public class Session
extends AbsBean

Defines a representation for <session> element.

Author:
Florent Benoit

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

NAME

public static final java.lang.String NAME
Name of this element.

See Also:
Constant Field Values

businessRemoteList

private java.util.List<java.lang.String> businessRemoteList
business-remote interfaces.


businessLocalList

private java.util.List<java.lang.String> businessLocalList
business-local interfaces.


sessionType

private java.lang.String sessionType
Type of session bean (stateless/stateful).


transactionType

private java.lang.String transactionType
Type of transaction.

Constructor Detail

Session

public Session()
Constructor.

Method Detail

getBusinessRemoteList

public java.util.List<java.lang.String> getBusinessRemoteList()
Gets the business-remote interface list.

Returns:
business-remote interface list

getBusinessLocalList

public java.util.List<java.lang.String> getBusinessLocalList()
Gets the business-local interface list.

Returns:
business-local interface list

addBusinessRemote

public void addBusinessRemote(java.lang.String businessRemote)
Add the business-remote interface.

Parameters:
businessRemote - business-remote interface.

addBusinessLocal

public void addBusinessLocal(java.lang.String businessLocal)
Add the business-local interface.

Parameters:
businessLocal - business-remote interface.

getSessionType

public java.lang.String getSessionType()
Gets the session-type.

Returns:
the session-type.

setSessionType

public void setSessionType(java.lang.String sessionType)
Set the session-type.

Parameters:
sessionType - the type of session.

getTransactionType

public java.lang.String getTransactionType()
Gets the transaction-type.

Returns:
the transaction-type

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Set the transaction-type.

Parameters:
transactionType - transaction-type.