org.openejb.alt.config.ejb11
Class Session

java.lang.Object
  |
  +--org.openejb.alt.config.ejb11.Session
All Implemented Interfaces:
java.io.Serializable

public class Session
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.2 $ $Date: 2002/02/25 20:30:51 $
See Also:
Serialized Form

Constructor Summary
Session()
           
 
Method Summary
 void addEjbRef(EjbRef vEjbRef)
           
 void addEnvEntry(EnvEntry vEnvEntry)
           
 void addResourceRef(ResourceRef vResourceRef)
           
 void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
           
 java.util.Enumeration enumerateEjbRef()
           
 java.util.Enumeration enumerateEnvEntry()
           
 java.util.Enumeration enumerateResourceRef()
           
 java.util.Enumeration enumerateSecurityRoleRef()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getEjbClass()
           
 java.lang.String getEjbName()
           
 EjbRef[] getEjbRef()
           
 EjbRef getEjbRef(int index)
           
 int getEjbRefCount()
           
 EnvEntry[] getEnvEntry()
           
 EnvEntry getEnvEntry(int index)
           
 int getEnvEntryCount()
           
 java.lang.String getHome()
           
 java.lang.String getId()
           
 java.lang.String getLargeIcon()
           
 java.lang.String getRemote()
           
 ResourceRef[] getResourceRef()
           
 ResourceRef getResourceRef(int index)
           
 int getResourceRefCount()
           
 SecurityRoleRef[] getSecurityRoleRef()
           
 SecurityRoleRef getSecurityRoleRef(int index)
           
 int getSecurityRoleRefCount()
           
 java.lang.String getSessionType()
           
 java.lang.String getSmallIcon()
           
 java.lang.String getTransactionType()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllEjbRef()
           
 void removeAllEnvEntry()
           
 void removeAllResourceRef()
           
 void removeAllSecurityRoleRef()
           
 EjbRef removeEjbRef(int index)
           
 EnvEntry removeEnvEntry(int index)
           
 ResourceRef removeResourceRef(int index)
           
 SecurityRoleRef removeSecurityRoleRef(int index)
           
 void setDescription(java.lang.String _description)
           
 void setDisplayName(java.lang.String _displayName)
           
 void setEjbClass(java.lang.String _ejbClass)
           
 void setEjbName(java.lang.String _ejbName)
           
 void setEjbRef(EjbRef[] ejbRefArray)
           
 void setEjbRef(int index, EjbRef vEjbRef)
           
 void setEnvEntry(EnvEntry[] envEntryArray)
           
 void setEnvEntry(int index, EnvEntry vEnvEntry)
           
 void setHome(java.lang.String _home)
           
 void setId(java.lang.String _id)
           
 void setLargeIcon(java.lang.String _largeIcon)
           
 void setRemote(java.lang.String _remote)
           
 void setResourceRef(int index, ResourceRef vResourceRef)
           
 void setResourceRef(ResourceRef[] resourceRefArray)
           
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
           
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
           
 void setSessionType(java.lang.String _sessionType)
           
 void setSmallIcon(java.lang.String _smallIcon)
           
 void setTransactionType(java.lang.String _transactionType)
           
static Session unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session

public Session()
Method Detail

addEjbRef

public void addEjbRef(EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vEjbRef -  

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vEnvEntry -  

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
vResourceRef -  

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
vSecurityRoleRef -  

enumerateEjbRef

public java.util.Enumeration enumerateEjbRef()

enumerateEnvEntry

public java.util.Enumeration enumerateEnvEntry()

enumerateResourceRef

public java.util.Enumeration enumerateResourceRef()

enumerateSecurityRoleRef

public java.util.Enumeration enumerateSecurityRoleRef()

getDescription

public java.lang.String getDescription()

getDisplayName

public java.lang.String getDisplayName()

getEjbClass

public java.lang.String getEjbClass()

getEjbName

public java.lang.String getEjbName()

getEjbRef

public EjbRef getEjbRef(int index)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getEjbRef

public EjbRef[] getEjbRef()

getEjbRefCount

public int getEjbRefCount()

getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getEnvEntry

public EnvEntry[] getEnvEntry()

getEnvEntryCount

public int getEnvEntryCount()

getHome

public java.lang.String getHome()

getId

public java.lang.String getId()

getLargeIcon

public java.lang.String getLargeIcon()

getRemote

public java.lang.String getRemote()

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getResourceRef

public ResourceRef[] getResourceRef()

getResourceRefCount

public int getResourceRefCount()

getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()

getSecurityRoleRefCount

public int getSecurityRoleRefCount()

getSessionType

public java.lang.String getSessionType()

getSmallIcon

public java.lang.String getSmallIcon()

getTransactionType

public java.lang.String getTransactionType()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAllEjbRef

public void removeAllEjbRef()

removeAllEnvEntry

public void removeAllEnvEntry()

removeAllResourceRef

public void removeAllResourceRef()

removeAllSecurityRoleRef

public void removeAllSecurityRoleRef()

removeEjbRef

public EjbRef removeEjbRef(int index)
Parameters:
index -  

removeEnvEntry

public EnvEntry removeEnvEntry(int index)
Parameters:
index -  

removeResourceRef

public ResourceRef removeResourceRef(int index)
Parameters:
index -  

removeSecurityRoleRef

public SecurityRoleRef removeSecurityRoleRef(int index)
Parameters:
index -  

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description -  

setDisplayName

public void setDisplayName(java.lang.String _displayName)
Parameters:
_displayName -  

setEjbClass

public void setEjbClass(java.lang.String _ejbClass)
Parameters:
_ejbClass -  

setEjbName

public void setEjbName(java.lang.String _ejbName)
Parameters:
_ejbName -  

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vEjbRef -  

setEjbRef

public void setEjbRef(EjbRef[] ejbRefArray)
Parameters:
ejbRefArray -  

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vEnvEntry -  

setEnvEntry

public void setEnvEntry(EnvEntry[] envEntryArray)
Parameters:
envEntryArray -  

setHome

public void setHome(java.lang.String _home)
Parameters:
_home -  

setId

public void setId(java.lang.String _id)
Parameters:
_id -  

setLargeIcon

public void setLargeIcon(java.lang.String _largeIcon)
Parameters:
_largeIcon -  

setRemote

public void setRemote(java.lang.String _remote)
Parameters:
_remote -  

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vResourceRef -  

setResourceRef

public void setResourceRef(ResourceRef[] resourceRefArray)
Parameters:
resourceRefArray -  

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vSecurityRoleRef -  

setSecurityRoleRef

public void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
Parameters:
securityRoleRefArray -  

setSessionType

public void setSessionType(java.lang.String _sessionType)
Parameters:
_sessionType -  

setSmallIcon

public void setSmallIcon(java.lang.String _smallIcon)
Parameters:
_smallIcon -  

setTransactionType

public void setTransactionType(java.lang.String _transactionType)
Parameters:
_transactionType -  

unmarshal

public static Session unmarshal(java.io.Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException