public class GeronimoConnectionEventListener extends Object implements javax.resource.spi.ConnectionEventListener
Constructor and Description |
---|
GeronimoConnectionEventListener(ConnectionInterceptor stack,
ManagedConnectionInfo managedConnectionInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionInfo(ConnectionInfo connectionInfo) |
void |
clearConnectionInfos() |
void |
connectionClosed(javax.resource.spi.ConnectionEvent connectionEvent) |
void |
connectionErrorOccurred(javax.resource.spi.ConnectionEvent connectionEvent) |
Collection<ConnectionInfo> |
getConnectionInfos() |
boolean |
hasConnectionInfo(ConnectionInfo connectionInfo) |
boolean |
hasConnectionInfos() |
boolean |
isFirstConnectionInfo(ConnectionInfo connectionInfo) |
void |
localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
The
localTransactionCommitted method |
void |
localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
The
localTransactionRolledback method |
void |
localTransactionStarted(javax.resource.spi.ConnectionEvent event) |
void |
removeConnectionInfo(ConnectionInfo connectionInfo) |
public GeronimoConnectionEventListener(ConnectionInterceptor stack, ManagedConnectionInfo managedConnectionInfo)
public void connectionClosed(javax.resource.spi.ConnectionEvent connectionEvent)
connectionClosed
in interface javax.resource.spi.ConnectionEventListener
public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent connectionEvent)
connectionErrorOccurred
in interface javax.resource.spi.ConnectionEventListener
public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
localTransactionStarted
in interface javax.resource.spi.ConnectionEventListener
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
localTransactionCommitted
methodlocalTransactionCommitted
in interface javax.resource.spi.ConnectionEventListener
event
- a ConnectionEvent
value
todo implement this methodpublic void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
localTransactionRolledback
methodlocalTransactionRolledback
in interface javax.resource.spi.ConnectionEventListener
event
- a ConnectionEvent
value
todo implement this methodpublic void addConnectionInfo(ConnectionInfo connectionInfo)
public void removeConnectionInfo(ConnectionInfo connectionInfo)
public boolean hasConnectionInfos()
public void clearConnectionInfos()
public boolean hasConnectionInfo(ConnectionInfo connectionInfo)
public boolean isFirstConnectionInfo(ConnectionInfo connectionInfo)
public Collection<ConnectionInfo> getConnectionInfos()
Copyright © 2017. All rights reserved.