public class SessionContext extends AbstractContext implements java.io.Externalizable, SafeSerializable
| Modifier and Type | Field and Description |
|---|---|
long |
sessionContextTimeoutInterval |
COPY_PROPERTIES, lastTouchedTime, parent, properties| Constructor and Description |
|---|
SessionContext() |
SessionContext(AbstractContext parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addServiceContext(ServiceContext serviceContext) |
void |
addServiceGroupContext(ServiceGroupContext serviceGroupContext) |
protected void |
finalize() |
java.lang.String |
getCookieID() |
long |
getLastTouchedTime() |
ConfigurationContext |
getRootContext() |
ServiceContext |
getServiceContext(AxisService axisService) |
java.util.Iterator<ServiceGroupContext> |
getServiceGroupContext() |
ServiceGroupContext |
getServiceGroupContext(java.lang.String serviceGroupID) |
void |
init(AxisConfiguration axisConfiguration) |
void |
readExternal(java.io.ObjectInput inObject)
Restore the contents of the MessageContext that was
previously saved.
|
void |
setCookieID(java.lang.String cookieID) |
void |
touch()
ServiceContext and ServiceGroupContext are not getting automatically garbage collectible.
|
void |
writeExternal(java.io.ObjectOutput o)
Save the contents of this object.
|
clearPropertyDifferences, flush, getLocalProperty, getParent, getProperties, getProperty, getPropertyDifferences, getPropertyNames, getPropertyNonReplicable, isAncestor, mergeProperties, removeProperty, removePropertyNonReplicable, setLastTouchedTime, setNonReplicableProperty, setParent, setProperties, setPropertypublic SessionContext(AbstractContext parent)
parent - public SessionContext()
public void init(AxisConfiguration axisConfiguration) throws AxisFault
AxisFaultpublic ServiceContext getServiceContext(AxisService axisService)
public void addServiceContext(ServiceContext serviceContext)
public void addServiceGroupContext(ServiceGroupContext serviceGroupContext)
public ServiceGroupContext getServiceGroupContext(java.lang.String serviceGroupID)
public java.lang.String getCookieID()
public void setCookieID(java.lang.String cookieID)
public void touch()
touch in class AbstractContextpublic long getLastTouchedTime()
getLastTouchedTime in class AbstractContextpublic java.util.Iterator<ServiceGroupContext> getServiceGroupContext()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void writeExternal(java.io.ObjectOutput o)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The stream to write the object contents tojava.io.IOExceptionpublic void readExternal(java.io.ObjectInput inObject)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The stream to read the object contents fromjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic ConfigurationContext getRootContext()
getRootContext in class AbstractContextCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.