Methods Summary |
---|
public void | badConnectionClosed(ConnectionEvent evt)Resource adapters will signal that the connection being closed is bad.
ManagedConnection mc = (ManagedConnection) evt.getSource();
mc.removeConnectionEventListener(this);
connectionClosed(evt);
|
public void | connectionClosed(ConnectionEvent evt)
ManagedConnection mc = (ManagedConnection) evt.getSource();
try {
mc.destroy();
} catch (Throwable re) {
if (_logger.isLoggable(Level.FINE)) {
_logger.fine("error while destroying Unpooled Managed Connection");
}
}
if (_logger.isLoggable(Level.FINE)) {
_logger.fine("UnpooledConnectionEventListener: Connection closed");
}
|
public void | connectionErrorOccurred(ConnectionEvent evt)
//no-op
|
public void | localTransactionCommitted(ConnectionEvent evt)
// no-op
|
public void | localTransactionRolledback(ConnectionEvent evt)
// no-op
|
public void | localTransactionStarted(ConnectionEvent evt)
// no-op
|