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
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 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