net.sourceforge.squirrel_sql.plugins.example
Class ExampleSqlExecutionListener

java.lang.Object
  extended by net.sourceforge.squirrel_sql.client.session.event.SQLExecutionAdapter
      extended by net.sourceforge.squirrel_sql.plugins.example.ExampleSqlExecutionListener
All Implemented Interfaces:
EventListener, ISQLExecutionListener

public class ExampleSqlExecutionListener
extends SQLExecutionAdapter

A simple ISQLExecutionListener that displays the SQL as it is being executed in the main application message panel (at the bottom of the application).


Constructor Summary
ExampleSqlExecutionListener(IMessageHandler messageHandler)
           
 
Method Summary
 void executionFinished()
           
 void statementExecuted(String sql)
           
 String statementExecuting(String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleSqlExecutionListener

public ExampleSqlExecutionListener(IMessageHandler messageHandler)
Method Detail

statementExecuted

public void statementExecuted(String sql)
Specified by:
statementExecuted in interface ISQLExecutionListener
Overrides:
statementExecuted in class SQLExecutionAdapter

statementExecuting

public String statementExecuting(String sql)
Specified by:
statementExecuting in interface ISQLExecutionListener
Overrides:
statementExecuting in class SQLExecutionAdapter

executionFinished

public void executionFinished()
Specified by:
executionFinished in interface ISQLExecutionListener
Overrides:
executionFinished in class SQLExecutionAdapter


Copyright © 2001-2011. All Rights Reserved.