org.objectweb.jonas.jdbc
Class ConnectionManagerImpl

java.lang.Object
  extended byorg.objectweb.jonas.jdbc.ConnectionManagerImpl
All Implemented Interfaces:
javax.resource.spi.ConnectionManager, java.io.Serializable

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

Description of the ConnectionManagerImpl. Default ConnectionManager for the JDBC RA.

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
ConnectionManagerImpl()
           
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info)
          No pooling is done for non-managed connections, just get a new MC and connection to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManagerImpl

public ConnectionManagerImpl()
Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo info)
                                    throws javax.resource.ResourceException
No pooling is done for non-managed connections, just get a new MC and connection to the database.

Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException