public class StandardActivityContext extends Object implements IActivityContext
IActivityContext.ATTR_REFERENCECOUNT| Constructor and Description |
|---|
StandardActivityContext() |
| Modifier and Type | Method and Description |
|---|---|
Object |
acquire()
Indicate usage of the object.
|
Object |
getAttribute(Object key)
Get an attribute value from the context
|
int |
getReferenceCount()
The current "usage level".
|
void |
release()
Deprecated.
|
void |
release(Object handle)
The object is no longer needed.
|
Object |
removeAttribute(Object key)
Remove an attribute binding in the context
|
Object |
setAttribute(Object key,
Object value)
Set the value of an attribute in the context
|
public Object acquire()
IReferenceCounteracquire in interface IReferenceCounterpublic Object getAttribute(Object key)
IAttributeSupportgetAttribute in interface IAttributeSupportkey - the name of the attribute to getkeypublic int getReferenceCount()
IReferenceCountergetReferenceCount in interface IReferenceCounter@Deprecated public void release()
IReferenceCounterrelease in interface IReferenceCounterpublic void release(Object handle)
IReferenceCounterrelease in interface IReferenceCounterpublic Object removeAttribute(Object key)
IAttributeSupportremoveAttribute in interface IAttributeSupportkey - the name of the attribute to removekeypublic Object setAttribute(Object key, Object value)
IAttributeSupportsetAttribute in interface IAttributeSupportkey - the name of the attribute to setvalue - the new value the attributekeyCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.