org.openejb.config.ejb11
Class Session
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Session
public Session()
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.