public class SimpleConnectionManager extends Object implements ConnectionManager, ConnectionEventListener
Constructor and Description |
---|
SimpleConnectionManager() |
Modifier and Type | Method and Description |
---|---|
Object |
allocateConnection(ManagedConnectionFactory connectionFactory,
ConnectionRequestInfo info) |
void |
connectionClosed(ConnectionEvent event) |
void |
connectionErrorOccurred(ConnectionEvent event) |
void |
localTransactionCommitted(ConnectionEvent event) |
void |
localTransactionRolledback(ConnectionEvent event) |
void |
localTransactionStarted(ConnectionEvent event) |
public SimpleConnectionManager()
public Object allocateConnection(ManagedConnectionFactory connectionFactory, ConnectionRequestInfo info) throws ResourceException
allocateConnection
in interface ConnectionManager
ResourceException
ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo)
public void connectionClosed(ConnectionEvent event)
connectionClosed
in interface ConnectionEventListener
ConnectionEventListener.connectionClosed(javax.resource.spi.ConnectionEvent)
public void localTransactionStarted(ConnectionEvent event)
localTransactionStarted
in interface ConnectionEventListener
ConnectionEventListener.localTransactionStarted(javax.resource.spi.ConnectionEvent)
public void localTransactionCommitted(ConnectionEvent event)
localTransactionCommitted
in interface ConnectionEventListener
ConnectionEventListener.localTransactionCommitted(javax.resource.spi.ConnectionEvent)
public void localTransactionRolledback(ConnectionEvent event)
localTransactionRolledback
in interface ConnectionEventListener
ConnectionEventListener.localTransactionRolledback(javax.resource.spi.ConnectionEvent)
public void connectionErrorOccurred(ConnectionEvent event)
connectionErrorOccurred
in interface ConnectionEventListener
ConnectionEventListener.connectionErrorOccurred(javax.resource.spi.ConnectionEvent)
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.