|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FBObjectListener.StatementListener
Listener for the events generated by statements.
Method Summary | |
---|---|
void |
executionStarted(AbstractStatement stmt)
Notify listener that statement execution is being started. |
AbstractConnection |
getConnection()
Get the connection object to which this listener belongs to. |
void |
statementClosed(AbstractStatement stmt)
Notify the listener that statement was closed. |
void |
statementCompleted(AbstractStatement stmt)
Notify the listener that statement is completed. |
void |
statementCompleted(AbstractStatement stmt,
boolean success)
Notify the listener that statement is completed and tell whether execution was successfull or not. |
Method Detail |
---|
AbstractConnection getConnection() throws java.sql.SQLException
AbstractConnection
java.sql.SQLException
- if something went wrong.void executionStarted(AbstractStatement stmt) throws java.sql.SQLException
stmt
- statement that is being executed.
java.sql.SQLException
- if something went wrong.void statementClosed(AbstractStatement stmt) throws java.sql.SQLException
stmt
- statement that was closed.
java.sql.SQLException
void statementCompleted(AbstractStatement stmt) throws java.sql.SQLException
statementCompleted(AbstractStatement, true)
.
stmt
- statement that was completed.
java.sql.SQLException
void statementCompleted(AbstractStatement stmt, boolean success) throws java.sql.SQLException
stmt
- statement that was completed.success
- true
if completion was successfull.
java.sql.SQLException
- if an error occured.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |