接口 CommandSessionListener
-
- 所有已知实现类:
EventAdminListener
public interface CommandSessionListenerListener for command executions. Such listeners must be registered in the OSGi registry and will be called by the CommandProcessor when a command line is executed in a given session.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidafterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Exception exception)voidafterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Object result)voidbeforeExecute(CommandSession session, java.lang.CharSequence command)
-
-
-
方法详细资料
-
beforeExecute
void beforeExecute(CommandSession session, java.lang.CharSequence command)
-
afterExecute
void afterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Exception exception)
-
afterExecute
void afterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Object result)
-
-