Package play
Class Invoker.DirectInvocation
- java.lang.Object
-
- play.Invoker.Invocation
-
- play.Invoker.DirectInvocation
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
ServletWrapper.ServletInvocation
- Enclosing class:
- Invoker
public abstract static class Invoker.DirectInvocation extends Invoker.Invocation
A direct invocation (in the same thread than caller)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringinvocationType
-
Constructor Summary
Constructors Constructor Description DirectInvocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Invoker.InvocationContextgetInvocationContext()booleaninit()Init the call (especially useful in DEV mode to detect changes)voidsuspend(Invoker.Suspend suspendRequest)The request is suspended-
Methods inherited from class play.Invoker.Invocation
_finally, after, before, execute, onException, onSuccess, preInit, run
-
-
-
-
Field Detail
-
invocationType
public static final java.lang.String invocationType
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public boolean init()
Description copied from class:Invoker.InvocationInit the call (especially useful in DEV mode to detect changes)- Overrides:
initin classInvoker.Invocation- Returns:
- true if successful
-
suspend
public void suspend(Invoker.Suspend suspendRequest)
Description copied from class:Invoker.InvocationThe request is suspended- Overrides:
suspendin classInvoker.Invocation- Parameters:
suspendRequest- the suspended request
-
getInvocationContext
public Invoker.InvocationContext getInvocationContext()
- Specified by:
getInvocationContextin classInvoker.Invocation
-
-