org.openejb.config.ejb11
Class Session

java.lang.Object
  extended byorg.openejb.config.ejb11.Session
All Implemented Interfaces:
Serializable

public class Session
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
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)
           
 Enumeration enumerateEjbRef()
           
 Enumeration enumerateEnvEntry()
           
 Enumeration enumerateResourceRef()
           
 Enumeration enumerateSecurityRoleRef()
           
 String getDescription()
           
 String getDisplayName()
           
 String getEjbClass()
           
 String getEjbName()
           
 EjbRef[] getEjbRef()
           
 EjbRef getEjbRef(int index)
           
 int getEjbRefCount()
           
 EnvEntry[] getEnvEntry()
           
 EnvEntry getEnvEntry(int index)
           
 int getEnvEntryCount()
           
 String getHome()
           
 String getId()
           
 String getLargeIcon()
           
 String getRemote()
           
 ResourceRef[] getResourceRef()
           
 ResourceRef getResourceRef(int index)
           
 int getResourceRefCount()
           
 SecurityRoleRef[] getSecurityRoleRef()
           
 SecurityRoleRef getSecurityRoleRef(int index)
           
 int getSecurityRoleRefCount()
           
 String getSessionType()
           
 String getSmallIcon()
           
 String getTransactionType()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(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(String _description)
           
 void setDisplayName(String _displayName)
           
 void setEjbClass(String _ejbClass)
           
 void setEjbName(String _ejbName)
           
 void setEjbRef(EjbRef[] ejbRefArray)
           
 void setEjbRef(int index, EjbRef vEjbRef)
           
 void setEnvEntry(EnvEntry[] envEntryArray)
           
 void setEnvEntry(int index, EnvEntry vEnvEntry)
           
 void setHome(String _home)
           
 void setId(String _id)
           
 void setLargeIcon(String _largeIcon)
           
 void setRemote(String _remote)
           
 void setResourceRef(int index, ResourceRef vResourceRef)
           
 void setResourceRef(ResourceRef[] resourceRefArray)
           
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
           
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
           
 void setSessionType(String _sessionType)
           
 void setSmallIcon(String _smallIcon)
           
 void setTransactionType(String _transactionType)
           
static Session unmarshal(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 IndexOutOfBoundsException
Parameters:
vEjbRef -
Throws:
IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws IndexOutOfBoundsException
Parameters:
vEnvEntry -
Throws:
IndexOutOfBoundsException

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws IndexOutOfBoundsException
Parameters:
vResourceRef -
Throws:
IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws IndexOutOfBoundsException
Parameters:
vSecurityRoleRef -
Throws:
IndexOutOfBoundsException

enumerateEjbRef

public Enumeration enumerateEjbRef()

enumerateEnvEntry

public Enumeration enumerateEnvEntry()

enumerateResourceRef

public Enumeration enumerateResourceRef()

enumerateSecurityRoleRef

public Enumeration enumerateSecurityRoleRef()

getDescription

public String getDescription()

getDisplayName

public String getDisplayName()

getEjbClass

public String getEjbClass()

getEjbName

public String getEjbName()

getEjbRef

public EjbRef getEjbRef(int index)
                 throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getEjbRef

public EjbRef[] getEjbRef()

getEjbRefCount

public int getEjbRefCount()

getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getEnvEntry

public EnvEntry[] getEnvEntry()

getEnvEntryCount

public int getEnvEntryCount()

getHome

public String getHome()

getId

public String getId()

getLargeIcon

public String getLargeIcon()

getRemote

public String getRemote()

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getResourceRef

public ResourceRef[] getResourceRef()

getResourceRefCount

public int getResourceRefCount()

getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()

getSecurityRoleRefCount

public int getSecurityRoleRefCount()

getSessionType

public String getSessionType()

getSmallIcon

public String getSmallIcon()

getTransactionType

public String getTransactionType()

isValid

public boolean isValid()

marshal

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

marshal

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

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(String _description)
Parameters:
_description -

setDisplayName

public void setDisplayName(String _displayName)
Parameters:
_displayName -

setEjbClass

public void setEjbClass(String _ejbClass)
Parameters:
_ejbClass -

setEjbName

public void setEjbName(String _ejbName)
Parameters:
_ejbName -

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws IndexOutOfBoundsException
Parameters:
index -
vEjbRef -
Throws:
IndexOutOfBoundsException

setEjbRef

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

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws IndexOutOfBoundsException
Parameters:
index -
vEnvEntry -
Throws:
IndexOutOfBoundsException

setEnvEntry

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

setHome

public void setHome(String _home)
Parameters:
_home -

setId

public void setId(String _id)
Parameters:
_id -

setLargeIcon

public void setLargeIcon(String _largeIcon)
Parameters:
_largeIcon -

setRemote

public void setRemote(String _remote)
Parameters:
_remote -

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws IndexOutOfBoundsException
Parameters:
index -
vResourceRef -
Throws:
IndexOutOfBoundsException

setResourceRef

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

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws IndexOutOfBoundsException
Parameters:
index -
vSecurityRoleRef -
Throws:
IndexOutOfBoundsException

setSecurityRoleRef

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

setSessionType

public void setSessionType(String _sessionType)
Parameters:
_sessionType -

setSmallIcon

public void setSmallIcon(String _smallIcon)
Parameters:
_smallIcon -

setTransactionType

public void setTransactionType(String _transactionType)
Parameters:
_transactionType -

unmarshal

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

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.