|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.invocation.InvocationManagerImpl
@Service @Scoped(value=org.jvnet.hk2.component.Singleton.class) public class InvocationManagerImpl
| Field Summary | |
|---|---|
static boolean |
debug
|
| Constructor Summary | |
|---|---|
InvocationManagerImpl()
|
|
| Method Summary | ||
|---|---|---|
java.util.List |
getAllInvocations()
|
|
|
getCurrentInvocation()
return the Invocation object of the component being called |
|
|
getPreviousInvocation()
return the Inovcation object of the caller return null if none exist (e.g. |
|
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)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public InvocationManagerImpl()
| Method Detail |
|---|
public <T extends ComponentInvocation> void preInvoke(T inv)
throws InvocationException
InvocationManager
preInvoke in interface InvocationManagerinv - the Invocation object
InvocationException
public <T extends ComponentInvocation> void postInvoke(T inv)
throws InvocationException
InvocationManager
postInvoke in interface InvocationManagerinv - the Invocation object
InvocationExceptionpublic boolean isInvocationStackEmpty()
isInvocationStackEmpty in interface InvocationManagerpublic <T extends ComponentInvocation> T getCurrentInvocation()
getCurrentInvocation in interface InvocationManager
public <T extends ComponentInvocation> T getPreviousInvocation()
throws InvocationException
getPreviousInvocation in interface InvocationManagerInvocationExceptionpublic java.util.List getAllInvocations()
getAllInvocations in interface InvocationManager
public void registerComponentInvocationHandler(ComponentInvocation.ComponentInvocationType type,
RegisteredComponentInvocationHandler handler)
registerComponentInvocationHandler in interface InvocationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||