com.prolifics.tconn
Class DefaultConnectionManager

java.lang.Object
  extended by com.prolifics.tconn.DefaultConnectionManager
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.resource.spi.ConnectionEventListener, javax.resource.spi.ConnectionManager

public class DefaultConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener

See Also:
Serialized Form

Constructor Summary
DefaultConnectionManager()
           
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cri)
           
 void connectionClosed(javax.resource.spi.ConnectionEvent ce)
           
 void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
           
 void localTransactionCommitted(javax.resource.spi.ConnectionEvent ce)
           
 void localTransactionRolledback(javax.resource.spi.ConnectionEvent ce)
           
 void localTransactionStarted(javax.resource.spi.ConnectionEvent ce)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConnectionManager

public DefaultConnectionManager()
Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cri)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException

connectionClosed

public void connectionClosed(javax.resource.spi.ConnectionEvent ce)
Specified by:
connectionClosed in interface javax.resource.spi.ConnectionEventListener

connectionErrorOccurred

public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
Specified by:
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener

localTransactionStarted

public void localTransactionStarted(javax.resource.spi.ConnectionEvent ce)
Specified by:
localTransactionStarted in interface javax.resource.spi.ConnectionEventListener

localTransactionCommitted

public void localTransactionCommitted(javax.resource.spi.ConnectionEvent ce)
Specified by:
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener

localTransactionRolledback

public void localTransactionRolledback(javax.resource.spi.ConnectionEvent ce)
Specified by:
localTransactionRolledback in interface javax.resource.spi.ConnectionEventListener