org.apache.activemq.ra
public class SimpleConnectionManager extends java.lang.Object implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener
Constructor and Description |
---|
SimpleConnectionManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory connectionFactory,
javax.resource.spi.ConnectionRequestInfo info) |
void |
connectionClosed(javax.resource.spi.ConnectionEvent event) |
void |
connectionErrorOccurred(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionCommitted(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionRolledback(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionStarted(javax.resource.spi.ConnectionEvent event) |
public SimpleConnectionManager()
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory connectionFactory, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
allocateConnection
in interface javax.resource.spi.ConnectionManager
javax.resource.ResourceException
ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo)
public void connectionClosed(javax.resource.spi.ConnectionEvent event)
connectionClosed
in interface javax.resource.spi.ConnectionEventListener
ConnectionEventListener.connectionClosed(javax.resource.spi.ConnectionEvent)
public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
localTransactionStarted
in interface javax.resource.spi.ConnectionEventListener
ConnectionEventListener.localTransactionStarted(javax.resource.spi.ConnectionEvent)
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
localTransactionCommitted
in interface javax.resource.spi.ConnectionEventListener
ConnectionEventListener.localTransactionCommitted(javax.resource.spi.ConnectionEvent)
public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
localTransactionRolledback
in interface javax.resource.spi.ConnectionEventListener
ConnectionEventListener.localTransactionRolledback(javax.resource.spi.ConnectionEvent)
public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
connectionErrorOccurred
in interface javax.resource.spi.ConnectionEventListener
ConnectionEventListener.connectionErrorOccurred(javax.resource.spi.ConnectionEvent)
Copyright © 2005-2014. All Rights Reserved.