org.mobicents.slee.resource.parlay.jca
Class ConnectionManagerImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.jca.ConnectionManagerImpl
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.resource.spi.ConnectionEventListener, javax.resource.spi.ConnectionManager

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

Basic JCA compliant connection manager implementation. Will be used in slee container to manage client connections. TODO lookup a standard implementation of this

See Also:
Serialized Form

Constructor Summary
ConnectionManagerImpl()
          Constructor for ConnectionManagerImpl.
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
           
 void connectionClosed(javax.resource.spi.ConnectionEvent event)
           
 void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
           
 void localTransactionCommitted(javax.resource.spi.ConnectionEvent arg0)
           
 void localTransactionRolledback(javax.resource.spi.ConnectionEvent arg0)
           
 void localTransactionStarted(javax.resource.spi.ConnectionEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManagerImpl

public ConnectionManagerImpl()
Constructor for ConnectionManagerImpl.

Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
                                           javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException
See Also:
ConnectionManager.allocateConnection(ManagedConnectionFactory, ConnectionRequestInfo)

connectionClosed

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

connectionErrorOccurred

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

localTransactionCommitted

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

localTransactionRolledback

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

localTransactionStarted

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


Copyright © 2009. All Rights Reserved.