henplus.event
Interface ExecutionListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
EchoCommandProperty

public interface ExecutionListener
extends EventListener

A Listener that is called by the CommandDispatcher whenever a command is executed.


Method Summary
 void afterExecution(SQLSession session, String command, int result)
          called after a command is executed.
 void beforeExecution(SQLSession session, String command)
          called before an command is to be executed.
 

Method Detail

beforeExecution

void beforeExecution(SQLSession session,
                     String command)
called before an command is to be executed.


afterExecution

void afterExecution(SQLSession session,
                    String command,
                    int result)
called after a command is executed.



? 1997..2006 Henner Zeller