org.ow2.jonas.ee.jdbc
Class ConnectionManagerImpl

java.lang.Object
  extended by org.ow2.jonas.ee.jdbc.ConnectionManagerImpl
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ConnectionManager

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


Copyright © 2012 OW2 Consortium. All Rights Reserved.