程序包 org.xmeta
类 ActionListenerExecutor
java.lang.Object
org.xmeta.ActionListenerExecutor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidaddListener(List<ActionListener> actionListeners) protected voidaddListener(ActionListener actionListener) protected voiddoOnDoAction(Thing thing, String actionName, Action action, ActionContext actionContext, Map<String, Object> params) protected voiddoOnDoActionFinished(Thing thing, String actionName, Action action, ActionContext actionContext, Map<String, Object> params, Object result) protected ThrowabledoOnException(Action action, Object caller, ActionContext actionContext, Throwable t) protected voidprotected ThrowabledoOnSuccess(Action action, Object caller, ActionContext actionContext, Object result) getActionListener(int index) intint
-
构造器详细资料
-
ActionListenerExecutor
public ActionListenerExecutor()
-
-
方法详细资料
-
addListener
-
addListener
-
getCurrentIndex
public int getCurrentIndex() -
getListenerCount
public int getListenerCount() -
getActionListener
-
doOnDoAction
protected void doOnDoAction(Thing thing, String actionName, Action action, ActionContext actionContext, Map<String, Object> params) throws Exception- 抛出:
Exception
-
doOnDoActionFinished
protected void doOnDoActionFinished(Thing thing, String actionName, Action action, ActionContext actionContext, Map<String, Object> params, Object result) throws Exception- 抛出:
Exception
-
doOnInit
protected void doOnInit(Action action, Object caller, ActionContext actionContext, Map<String, Object> params) throws Exception- 抛出:
Exception
-
doOnSuccess
protected Throwable doOnSuccess(Action action, Object caller, ActionContext actionContext, Object result) -
doOnException
protected Throwable doOnException(Action action, Object caller, ActionContext actionContext, Throwable t)
-