public class DefaultConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager
This class provides the default implementation of the ConnectionManager for non managed use. There is no pooling or level of service beyond allocating a connection.
The following excerpt is from the JCA specification.
A default implementation of ConnectionManager enables the resource adapter to
provide services specific to itself. These services can include connection pooling,
error logging and tracing, and security management. The default ConnectionManager
delegates to the ManagedConnectionFactory the creation of physical connections to
the underlying EIS.
Constructor and Description |
---|
DefaultConnectionManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo info) |
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
allocateConnection
in interface javax.resource.spi.ConnectionManager
javax.resource.ResourceException