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, setProperty
public SessionContext(AbstractContext parent)
parent
- public SessionContext()
public void init(AxisConfiguration axisConfiguration) throws AxisFault
AxisFault
public 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 AbstractContext
public long getLastTouchedTime()
getLastTouchedTime
in class AbstractContext
public Iterator<ServiceGroupContext> getServiceGroupContext()
protected void finalize() throws Throwable
public void writeExternal(ObjectOutput o) throws IOException
writeExternal
in interface Externalizable
out
- The stream to write the object contents toIOException
public void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- The stream to read the object contents fromIOException
ClassNotFoundException
public ConfigurationContext getRootContext()
getRootContext
in class AbstractContext
Copyright © The Apache Software Foundation. All Rights Reserved.