Package org.apache.felix.service.command
Interface CommandSessionListener
-
- All Known Implementing Classes:
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
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)
-
-