Class JCAConnectionManager

  • All Implemented Interfaces:
    Serializable, javax.resource.spi.ConnectionManager

    public final class JCAConnectionManager
    extends Object
    implements javax.resource.spi.ConnectionManager
    This class implements the default connection manager.
    See Also:
    Serialized Form
    • Constructor Detail

      • JCAConnectionManager

        public JCAConnectionManager()
    • Method Detail

      • allocateConnection

        public Object allocateConnection​(javax.resource.spi.ManagedConnectionFactory mcf,
                                         javax.resource.spi.ConnectionRequestInfo cri)
                                  throws javax.resource.ResourceException
        The method allocateConnection gets called by the resource adapter's connection factory instance.
        Specified by:
        allocateConnection in interface javax.resource.spi.ConnectionManager
        Throws:
        javax.resource.ResourceException