org.activemq.ra
Class DefaultConnectionManager

java.lang.Object
org.activemq.ra.DefaultConnectionManager
- All Implemented Interfaces:
- javax.resource.spi.ConnectionEventListener, javax.resource.spi.ConnectionManager, java.util.EventListener, java.io.Serializable
- public class DefaultConnectionManager
- extends java.lang.Object
- implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener
A simple implementation of a ConnectionManager.
An App Server will have a better implementation with pooling and security etc.
- Version:
- $Revision: 1.1.1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
DefaultConnectionManager
public DefaultConnectionManager()
allocateConnection
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory connectionFactory,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
- Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
connectionClosed
public void connectionClosed(javax.resource.spi.ConnectionEvent event)
- Specified by:
connectionClosed in interface javax.resource.spi.ConnectionEventListener
localTransactionStarted
public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
- Specified by:
localTransactionStarted in interface javax.resource.spi.ConnectionEventListener
localTransactionCommitted
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
- Specified by:
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener
localTransactionRolledback
public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
- Specified by:
localTransactionRolledback in interface javax.resource.spi.ConnectionEventListener
connectionErrorOccurred
public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
- Specified by:
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener