Package com.mchange.v2.c3p0.util
Class StatementEventSupport
- java.lang.Object
-
- com.mchange.v2.c3p0.util.StatementEventSupport
-
public class StatementEventSupport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StatementEventSupport(javax.sql.PooledConnection source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStatementEventListener(javax.sql.StatementEventListener mlistener)
void
fireStatementClosed(java.sql.PreparedStatement ps)
void
fireStatementErrorOccurred(java.sql.PreparedStatement ps, java.sql.SQLException error)
int
getListenerCount()
void
printListeners()
void
removeStatementEventListener(javax.sql.StatementEventListener mlistener)
-
-
-
Method Detail
-
addStatementEventListener
public void addStatementEventListener(javax.sql.StatementEventListener mlistener)
-
removeStatementEventListener
public void removeStatementEventListener(javax.sql.StatementEventListener mlistener)
-
printListeners
public void printListeners()
-
getListenerCount
public int getListenerCount()
-
fireStatementClosed
public void fireStatementClosed(java.sql.PreparedStatement ps)
-
fireStatementErrorOccurred
public void fireStatementErrorOccurred(java.sql.PreparedStatement ps, java.sql.SQLException error)
-
-