接口 CommandSessionListener
-
- 所有已知实现类:
EventAdminListener
public interface CommandSessionListener
Listener 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.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
afterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Exception exception)
void
afterExecute(CommandSession session, java.lang.CharSequence command, java.lang.Object result)
void
beforeExecute(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)
-
-