|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectplay.Invoker.Invocation
public abstract static class Invoker.Invocation
An Invocation in something to run in a Play! context
构造方法摘要 | |
---|---|
Invoker.Invocation()
|
方法摘要 | |
---|---|
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 |
abstract Invoker.InvocationContext |
getInvocationContext()
|
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 |
onSuccess()
Things to do when the whole invocation has succeeded (before + execute + after) |
protected void |
preInit()
Needs this method to do stuff *before* init() is executed. |
void |
run()
It's time to execute. |
void |
suspend(Invoker.Suspend suspendRequest)
The request is suspended |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public Invoker.Invocation()
方法详细信息 |
---|
public abstract void execute() throws java.lang.Exception
java.lang.Exception
protected void preInit()
public boolean init()
public abstract Invoker.InvocationContext getInvocationContext()
public void before()
public void after()
public void onSuccess() throws java.lang.Exception
java.lang.Exception
public void onException(java.lang.Throwable e)
public void suspend(Invoker.Suspend suspendRequest)
suspendRequest
- public void _finally()
public void run()
java.lang.Runnable
中的 run
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |