org.openejb.alt.config.ejb11
Class Session

java.lang.Object
  extended by org.openejb.alt.config.ejb11.Session
All Implemented Interfaces:
java.io.Serializable

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

Class Session.

Version:
$Revision: 1312 $ $Date: 2004-08-14 03:35:39 -0700 (Sat, 14 Aug 2004) $
See Also:
Serialized Form

Constructor Summary
Session()
           
 
Method Summary
 void addEjbLocalRef(EjbLocalRef vEjbLocalRef)
          Method addEjbLocalRef
 void addEjbLocalRef(int index, EjbLocalRef vEjbLocalRef)
          Method addEjbLocalRef
 void addEjbRef(EjbRef vEjbRef)
          Method addEjbRef
 void addEjbRef(int index, EjbRef vEjbRef)
          Method addEjbRef
 void addEnvEntry(EnvEntry vEnvEntry)
          Method addEnvEntry
 void addEnvEntry(int index, EnvEntry vEnvEntry)
          Method addEnvEntry
 void addResourceRef(int index, ResourceRef vResourceRef)
          Method addResourceRef
 void addResourceRef(ResourceRef vResourceRef)
          Method addResourceRef
 void addSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
          Method addSecurityRoleRef
 void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
          Method addSecurityRoleRef
 java.util.Enumeration enumerateEjbLocalRef()
          Method enumerateEjbLocalRef
 java.util.Enumeration enumerateEjbRef()
          Method enumerateEjbRef
 java.util.Enumeration enumerateEnvEntry()
          Method enumerateEnvEntry
 java.util.Enumeration enumerateResourceRef()
          Method enumerateResourceRef
 java.util.Enumeration enumerateSecurityRoleRef()
          Method enumerateSecurityRoleRef
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getDisplayName()
          Returns the value of field 'displayName'.
 java.lang.String getEjbClass()
          Returns the value of field 'ejbClass'.
 EjbLocalRef[] getEjbLocalRef()
          Method getEjbLocalRef
 EjbLocalRef getEjbLocalRef(int index)
          Method getEjbLocalRef
 int getEjbLocalRefCount()
          Method getEjbLocalRefCount
 java.lang.String getEjbName()
          Returns the value of field 'ejbName'.
 EjbRef[] getEjbRef()
          Method getEjbRef
 EjbRef getEjbRef(int index)
          Method getEjbRef
 int getEjbRefCount()
          Method getEjbRefCount
 EnvEntry[] getEnvEntry()
          Method getEnvEntry
 EnvEntry getEnvEntry(int index)
          Method getEnvEntry
 int getEnvEntryCount()
          Method getEnvEntryCount
 java.lang.String getHome()
          Returns the value of field 'home'.
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String getLargeIcon()
          Returns the value of field 'largeIcon'.
 java.lang.String getLocal()
          Returns the value of field 'local'.
 java.lang.String getLocalHome()
          Returns the value of field 'localHome'.
 java.lang.String getRemote()
          Returns the value of field 'remote'.
 ResourceRef[] getResourceRef()
          Method getResourceRef
 ResourceRef getResourceRef(int index)
          Method getResourceRef
 int getResourceRefCount()
          Method getResourceRefCount
 SecurityRoleRef[] getSecurityRoleRef()
          Method getSecurityRoleRef
 SecurityRoleRef getSecurityRoleRef(int index)
          Method getSecurityRoleRef
 int getSecurityRoleRefCount()
          Method getSecurityRoleRefCount
 java.lang.String getSessionType()
          Returns the value of field 'sessionType'.
 java.lang.String getSmallIcon()
          Returns the value of field 'smallIcon'.
 java.lang.String getTransactionType()
          Returns the value of field 'transactionType'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllEjbLocalRef()
          Method removeAllEjbLocalRef
 void removeAllEjbRef()
          Method removeAllEjbRef
 void removeAllEnvEntry()
          Method removeAllEnvEntry
 void removeAllResourceRef()
          Method removeAllResourceRef
 void removeAllSecurityRoleRef()
          Method removeAllSecurityRoleRef
 EjbLocalRef removeEjbLocalRef(int index)
          Method removeEjbLocalRef
 EjbRef removeEjbRef(int index)
          Method removeEjbRef
 EnvEntry removeEnvEntry(int index)
          Method removeEnvEntry
 ResourceRef removeResourceRef(int index)
          Method removeResourceRef
 SecurityRoleRef removeSecurityRoleRef(int index)
          Method removeSecurityRoleRef
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setDisplayName(java.lang.String displayName)
          Sets the value of field 'displayName'.
 void setEjbClass(java.lang.String ejbClass)
          Sets the value of field 'ejbClass'.
 void setEjbLocalRef(EjbLocalRef[] ejbLocalRefArray)
          Method setEjbLocalRef
 void setEjbLocalRef(int index, EjbLocalRef vEjbLocalRef)
          Method setEjbLocalRef
 void setEjbName(java.lang.String ejbName)
          Sets the value of field 'ejbName'.
 void setEjbRef(EjbRef[] ejbRefArray)
          Method setEjbRef
 void setEjbRef(int index, EjbRef vEjbRef)
          Method setEjbRef
 void setEnvEntry(EnvEntry[] envEntryArray)
          Method setEnvEntry
 void setEnvEntry(int index, EnvEntry vEnvEntry)
          Method setEnvEntry
 void setHome(java.lang.String home)
          Sets the value of field 'home'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setLargeIcon(java.lang.String largeIcon)
          Sets the value of field 'largeIcon'.
 void setLocal(java.lang.String local)
          Sets the value of field 'local'.
 void setLocalHome(java.lang.String localHome)
          Sets the value of field 'localHome'.
 void setRemote(java.lang.String remote)
          Sets the value of field 'remote'.
 void setResourceRef(int index, ResourceRef vResourceRef)
          Method setResourceRef
 void setResourceRef(ResourceRef[] resourceRefArray)
          Method setResourceRef
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
          Method setSecurityRoleRef
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
          Method setSecurityRoleRef
 void setSessionType(java.lang.String sessionType)
          Sets the value of field 'sessionType'.
 void setSmallIcon(java.lang.String smallIcon)
          Sets the value of field 'smallIcon'.
 void setTransactionType(java.lang.String transactionType)
          Sets the value of field 'transactionType'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method 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

addEjbLocalRef

public void addEjbLocalRef(EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method addEjbLocalRef

Parameters:
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbLocalRef

public void addEjbLocalRef(int index,
                           EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method addEjbLocalRef

Parameters:
index -
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbRef

public void addEjbRef(EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method addEjbRef

Parameters:
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbRef

public void addEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method addEjbRef

Parameters:
index -
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method addEnvEntry

Parameters:
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method addEnvEntry

Parameters:
index -
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method addResourceRef

Parameters:
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

addResourceRef

public void addResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method addResourceRef

Parameters:
index -
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method addSecurityRoleRef

Parameters:
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method addSecurityRoleRef

Parameters:
index -
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

enumerateEjbLocalRef

public java.util.Enumeration enumerateEjbLocalRef()
Method enumerateEjbLocalRef

Returns:
Enumeration

enumerateEjbRef

public java.util.Enumeration enumerateEjbRef()
Method enumerateEjbRef


enumerateEnvEntry

public java.util.Enumeration enumerateEnvEntry()
Method enumerateEnvEntry


enumerateResourceRef

public java.util.Enumeration enumerateResourceRef()
Method enumerateResourceRef


enumerateSecurityRoleRef

public java.util.Enumeration enumerateSecurityRoleRef()
Method enumerateSecurityRoleRef


getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getDisplayName

public java.lang.String getDisplayName()
Returns the value of field 'displayName'.

Returns:
the value of field 'displayName'.

getEjbClass

public java.lang.String getEjbClass()
Returns the value of field 'ejbClass'.

Returns:
the value of field 'ejbClass'.

getEjbLocalRef

public EjbLocalRef getEjbLocalRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Method getEjbLocalRef

Parameters:
index -
Returns:
EjbLocalRef
Throws:
java.lang.IndexOutOfBoundsException

getEjbLocalRef

public EjbLocalRef[] getEjbLocalRef()
Method getEjbLocalRef

Returns:
EjbLocalRef

getEjbLocalRefCount

public int getEjbLocalRefCount()
Method getEjbLocalRefCount

Returns:
int

getEjbName

public java.lang.String getEjbName()
Returns the value of field 'ejbName'.

Returns:
the value of field 'ejbName'.

getEjbRef

public EjbRef getEjbRef(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getEjbRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getEjbRef

public EjbRef[] getEjbRef()
Method getEjbRef


getEjbRefCount

public int getEjbRefCount()
Method getEjbRefCount


getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getEnvEntry

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getEnvEntry

public EnvEntry[] getEnvEntry()
Method getEnvEntry


getEnvEntryCount

public int getEnvEntryCount()
Method getEnvEntryCount


getHome

public java.lang.String getHome()
Returns the value of field 'home'.

Returns:
the value of field 'home'.

getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getLargeIcon

public java.lang.String getLargeIcon()
Returns the value of field 'largeIcon'.

Returns:
the value of field 'largeIcon'.

getLocal

public java.lang.String getLocal()
Returns the value of field 'local'.

Returns:
String

getLocalHome

public java.lang.String getLocalHome()
Returns the value of field 'localHome'.

Returns:
String

getRemote

public java.lang.String getRemote()
Returns the value of field 'remote'.

Returns:
the value of field 'remote'.

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Method getResourceRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getResourceRef

public ResourceRef[] getResourceRef()
Method getResourceRef


getResourceRefCount

public int getResourceRefCount()
Method getResourceRefCount


getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws java.lang.IndexOutOfBoundsException
Method getSecurityRoleRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()
Method getSecurityRoleRef


getSecurityRoleRefCount

public int getSecurityRoleRefCount()
Method getSecurityRoleRefCount


getSessionType

public java.lang.String getSessionType()
Returns the value of field 'sessionType'.

Returns:
the value of field 'sessionType'.

getSmallIcon

public java.lang.String getSmallIcon()
Returns the value of field 'smallIcon'.

Returns:
the value of field 'smallIcon'.

getTransactionType

public java.lang.String getTransactionType()
Returns the value of field 'transactionType'.

Returns:
the value of field 'transactionType'.

isValid

public boolean isValid()
Method isValid


marshal

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

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllEjbLocalRef

public void removeAllEjbLocalRef()
Method removeAllEjbLocalRef


removeAllEjbRef

public void removeAllEjbRef()
Method removeAllEjbRef


removeAllEnvEntry

public void removeAllEnvEntry()
Method removeAllEnvEntry


removeAllResourceRef

public void removeAllResourceRef()
Method removeAllResourceRef


removeAllSecurityRoleRef

public void removeAllSecurityRoleRef()
Method removeAllSecurityRoleRef


removeEjbLocalRef

public EjbLocalRef removeEjbLocalRef(int index)
Method removeEjbLocalRef

Parameters:
index -
Returns:
EjbLocalRef

removeEjbRef

public EjbRef removeEjbRef(int index)
Method removeEjbRef

Parameters:
index -

removeEnvEntry

public EnvEntry removeEnvEntry(int index)
Method removeEnvEntry

Parameters:
index -

removeResourceRef

public ResourceRef removeResourceRef(int index)
Method removeResourceRef

Parameters:
index -

removeSecurityRoleRef

public SecurityRoleRef removeSecurityRoleRef(int index)
Method removeSecurityRoleRef

Parameters:
index -

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the value of field 'displayName'.

Parameters:
displayName - the value of field 'displayName'.

setEjbClass

public void setEjbClass(java.lang.String ejbClass)
Sets the value of field 'ejbClass'.

Parameters:
ejbClass - the value of field 'ejbClass'.

setEjbLocalRef

public void setEjbLocalRef(int index,
                           EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method setEjbLocalRef

Parameters:
index -
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

setEjbLocalRef

public void setEjbLocalRef(EjbLocalRef[] ejbLocalRefArray)
Method setEjbLocalRef

Parameters:
ejbLocalRefArray -

setEjbName

public void setEjbName(java.lang.String ejbName)
Sets the value of field 'ejbName'.

Parameters:
ejbName - the value of field 'ejbName'.

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method setEjbRef

Parameters:
index -
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

setEjbRef

public void setEjbRef(EjbRef[] ejbRefArray)
Method setEjbRef

Parameters:
ejbRefArray -

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method setEnvEntry

Parameters:
index -
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

setEnvEntry

public void setEnvEntry(EnvEntry[] envEntryArray)
Method setEnvEntry

Parameters:
envEntryArray -

setHome

public void setHome(java.lang.String home)
Sets the value of field 'home'.

Parameters:
home - the value of field 'home'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setLargeIcon

public void setLargeIcon(java.lang.String largeIcon)
Sets the value of field 'largeIcon'.

Parameters:
largeIcon - the value of field 'largeIcon'.

setLocal

public void setLocal(java.lang.String local)
Sets the value of field 'local'.

Parameters:
local - the value of field 'local'.

setLocalHome

public void setLocalHome(java.lang.String localHome)
Sets the value of field 'localHome'.

Parameters:
localHome - the value of field 'localHome'.

setRemote

public void setRemote(java.lang.String remote)
Sets the value of field 'remote'.

Parameters:
remote - the value of field 'remote'.

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method setResourceRef

Parameters:
index -
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

setResourceRef

public void setResourceRef(ResourceRef[] resourceRefArray)
Method setResourceRef

Parameters:
resourceRefArray -

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method setSecurityRoleRef

Parameters:
index -
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

setSecurityRoleRef

public void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
Method setSecurityRoleRef

Parameters:
securityRoleRefArray -

setSessionType

public void setSessionType(java.lang.String sessionType)
Sets the value of field 'sessionType'.

Parameters:
sessionType - the value of field 'sessionType'.

setSmallIcon

public void setSmallIcon(java.lang.String smallIcon)
Sets the value of field 'smallIcon'.

Parameters:
smallIcon - the value of field 'smallIcon'.

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Sets the value of field 'transactionType'.

Parameters:
transactionType - the value of field 'transactionType'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.