public class SessionContext extends AbstractContext implements 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() |
String |
getCookieID() |
long |
getLastTouchedTime() |
ConfigurationContext |
getRootContext() |
ServiceContext |
getServiceContext(AxisService axisService) |
Iterator<ServiceGroupContext> |
getServiceGroupContext() |
ServiceGroupContext |
getServiceGroupContext(String serviceGroupID) |
void |
init(AxisConfiguration axisConfiguration) |
void |
readExternal(ObjectInput inObject)
Restore the contents of the MessageContext that was
previously saved.
|
void |
setCookieID(String cookieID) |
void |
touch()
ServiceContext and ServiceGroupContext are not getting automatically garbage collectible.
|
void |
writeExternal(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(String serviceGroupID)
public String getCookieID()
public void setCookieID(String cookieID)
public void touch()
touch in class AbstractContextpublic long getLastTouchedTime()
getLastTouchedTime in class AbstractContextpublic Iterator<ServiceGroupContext> getServiceGroupContext()
protected void finalize()
throws Throwable
public void writeExternal(ObjectOutput o) throws IOException
writeExternal in interface Externalizableout - The stream to write the object contents toIOExceptionpublic void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
readExternal in interface Externalizablein - The stream to read the object contents fromIOExceptionClassNotFoundExceptionpublic ConfigurationContext getRootContext()
getRootContext in class AbstractContextCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.