|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextManager
This interface allows the context surrounding an invocation to be saved and restored. This is useful when we are doing inOrder processing, as the service will be dispatched by the InvokerWorker (not the original transport thread), and context may have been lost by that switch. Each ContextManager implementation should have a constructor that takes a Axis ConfigurationContext object.
Method Summary | |
---|---|
java.io.Serializable |
storeContext()
Store the current threads execution context. |
java.lang.Runnable |
wrapWithContext(java.lang.Runnable work,
java.io.Serializable context)
Wrap the provided runnable with execution context that was previously stored. |
Method Detail |
---|
java.io.Serializable storeContext()
java.lang.Runnable wrapWithContext(java.lang.Runnable work, java.io.Serializable context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |