FileDocCategorySizeDatePackage
ConnectionManager.javaAPI DocGlassfish v2 API3148Fri May 04 22:36:04 BST 2007com.sun.gjc.spi

ConnectionManager

public class ConnectionManager extends Object implements javax.resource.spi.ConnectionManager
ConnectionManager implementation for Generic JDBC Connector.
author
Binod P.G
version
1.0, 02/07/31

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectallocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info)
Returns a Connection object to the ConnectionFactory

param
mcf ManagedConnectionFactory object.
param
info ConnectionRequestInfo object.
return
A Connection Object.
throws
ResourceException In case of an error in getting the Connection.

        ManagedConnection mc = mcf.createManagedConnection(null, info);
        return mc.getConnection(null, info);