public interface ConnectionEventListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
connectionClosed(ConnectionEvent event)
Notifies the listener that a connection has been closed
|
void |
connectionErrorOccurred(ConnectionEvent event)
Connection error has occurred
|
void |
localTransactionCommitted(ConnectionEvent event)
Local transaction has been committed
|
void |
localTransactionRolledback(ConnectionEvent event)
Local transaction has been rolled back
|
void |
localTransactionStarted(ConnectionEvent event)
Local transaction has been started
|
void connectionClosed(ConnectionEvent event)
event
- the closed eventvoid localTransactionStarted(ConnectionEvent event)
event
- the local transaction started eventvoid localTransactionCommitted(ConnectionEvent event)
event
- the local transaction committed eventvoid localTransactionRolledback(ConnectionEvent event)
the
- local transaction rolled back eventvoid connectionErrorOccurred(ConnectionEvent event)
the
- connection error eventCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.