|
|||||||||||
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 hierachy and is a bag of properties.
Field Summary | |
protected long |
lastTouchedTime
|
protected AbstractContext |
parent
|
protected Map |
properties
|
Constructor Summary | |
protected |
AbstractContext(AbstractContext parent)
|
Method Summary | |
long |
getLastTouchedTime()
|
AbstractContext |
getParent()
|
Map |
getProperties()
|
Object |
getProperty(String key)
Retrieves an object given a key. |
void |
setParent(AbstractContext context)
|
void |
setProperties(Map properties)
This will set the properties to the context. |
void |
setProperty(String key,
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 |
protected long lastTouchedTime
protected AbstractContext parent
protected Map properties
Constructor Detail |
protected AbstractContext(AbstractContext parent)
Method Detail |
public AbstractContext getParent()
public Map getProperties()
public Object getProperty(String key)
key
- - if not found, will return null
public void setParent(AbstractContext context)
context
- public void setProperties(Map properties)
properties
- Options.COPY_PROPERTIES
public void setProperty(String key, Object value)
key
- value
- protected void touch()
public long getLastTouchedTime()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |