|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface InvocationManager
InvocationManager provides interface to keep track of component context on a per-thread basis
| Method Summary | ||
|---|---|---|
java.util.List<? extends ComponentInvocation> |
getAllInvocations()
|
|
|
getCurrentInvocation()
Returns the current Invocation object associated with the current thread |
|
|
getPreviousInvocation()
Returns the previous Invocation object associated with the current thread. |
|
boolean |
isInvocationStackEmpty()
return true iff no invocations on the stack for this thread |
|
|
postInvoke(T inv)
To be called by a Container to indicate that the Container has just completed the invocation of a method on a component. |
|
|
preInvoke(T inv)
To be called by a Container to indicate that the Container is about to invoke a method on a component. |
|
void |
registerComponentInvocationHandler(ComponentInvocation.ComponentInvocationType type,
RegisteredComponentInvocationHandler handler)
|
|
| Method Detail |
|---|
<T extends ComponentInvocation> void preInvoke(T inv)
throws InvocationException
inv - the Invocation object
InvocationException
<T extends ComponentInvocation> void postInvoke(T inv)
throws InvocationException
inv - the Invocation object
InvocationException<T extends ComponentInvocation> T getCurrentInvocation()
<T extends ComponentInvocation> T getPreviousInvocation()
throws InvocationException
InvocationExceptionboolean isInvocationStackEmpty()
java.util.List<? extends ComponentInvocation> getAllInvocations()
void registerComponentInvocationHandler(ComponentInvocation.ComponentInvocationType type,
RegisteredComponentInvocationHandler handler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||