|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.context.AbstractContext
This is the top most level of the Context hierarchy and is a bag of properties.
| Field Summary | |
static java.lang.String |
COPY_PROPERTIES
Property used to indicate copying of properties is needed by context. |
protected long |
lastTouchedTime
|
protected AbstractContext |
parent
|
protected java.util.Map |
properties
|
| Constructor Summary | |
protected |
AbstractContext()
|
protected |
AbstractContext(AbstractContext parent)
|
| Method Summary | |
void |
flush()
|
long |
getLastTouchedTime()
|
AbstractContext |
getParent()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String key)
Retrieves an object given a key. |
abstract ConfigurationContext |
getRootContext()
|
void |
mergeProperties(java.util.Map props)
This will do a copy of the given properties to the current properties table. |
void |
setLastTouchedTime(long t)
|
void |
setParent(AbstractContext context)
|
void |
setProperties(java.util.Map properties)
This will set the properties to the context. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Store a property for message context |
protected void |
touch()
ServiceContext and ServiceGroupContext are not getting automatically garbage collected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String COPY_PROPERTIES
protected long lastTouchedTime
protected transient AbstractContext parent
protected transient java.util.Map properties
| Constructor Detail |
protected AbstractContext(AbstractContext parent)
protected AbstractContext()
| Method Detail |
public AbstractContext getParent()
public java.util.Map getProperties()
public java.lang.Object getProperty(java.lang.String key)
key - - if not found, will return null
public void setParent(AbstractContext context)
context - public void setProperties(java.util.Map properties)
COPY_PROPERTIES) so that if set to true, this code
will copy the whole thing, without just referencing to the source.
properties - public void mergeProperties(java.util.Map props)
props - The table of properties to copy
public void setProperty(java.lang.String key,
java.lang.Object value)
key - value - protected void touch()
public long getLastTouchedTime()
public void setLastTouchedTime(long t)
public void flush()
throws AxisFault
AxisFaultpublic abstract ConfigurationContext getRootContext()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||