|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.Invoker.Invocation
public abstract static class Invoker.Invocation
An Invocation in something to run in a Play! context
Constructor Summary | |
---|---|
Invoker.Invocation()
|
Method Summary | |
---|---|
void |
_finally()
Things to do in all cases after the invocation. |
void |
after()
Things to do after an Invocation. |
void |
before()
Things to do before an Invocation |
abstract void |
execute()
Override this method |
boolean |
init()
Init the call (especially usefull in DEV mode to detect changes) |
void |
onException(java.lang.Throwable e)
Things to do if the Invocation code thrown an exception |
void |
run()
It's time to execute. |
void |
suspend(Invoker.Suspend suspendRequest)
The request is suspended |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Invoker.Invocation()
Method Detail |
---|
public abstract void execute() throws java.lang.Exception
java.lang.Exception
public boolean init()
public void before()
public void after()
public void onException(java.lang.Throwable e)
public void suspend(Invoker.Suspend suspendRequest)
timeout
- public void _finally()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |