|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.context.impl.EventContextImpl
public class EventContextImpl
An implementation of an EventContext
that handles event-to-thread associations using an
InheritableThreadLocal
Constructor Summary | |
---|---|
EventContextImpl()
|
Method Summary | |
---|---|
void |
clearIdentifier(Object type)
Clears the unique key for the given identifier associated with the current request |
void |
clearIdentifiers()
Clears all identifiers associated with the current request |
Object |
getIdentifier(Object type)
Returns the unique key for the given identifier associated with the current request |
void |
setIdentifier(Object type,
Object identifier)
Sets the unique key for the given identifier associated with the current request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventContextImpl()
Method Detail |
---|
public Object getIdentifier(Object type)
EventContext
getIdentifier
in interface EventContext
public void setIdentifier(Object type, Object identifier)
EventContext
setIdentifier
in interface EventContext
public void clearIdentifier(Object type)
EventContext
clearIdentifier
in interface EventContext
public void clearIdentifiers()
EventContext
clearIdentifiers
in interface EventContext
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |