Class JmsConnectionManager

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

    public class JmsConnectionManager
    extends Object
    implements javax.resource.spi.ConnectionManager
    The resource adapters own ConnectionManager, used in non-managed environments. Will handle some of the houskeeping an appserver nomaly does.
    Author:
    Peter Antman., Adrian Brock
    See Also:
    Serialized Form
    • Constructor Detail

      • JmsConnectionManager

        public JmsConnectionManager()
        Construct a JmsConnectionManager.
    • Method Detail

      • allocateConnection

        public Object allocateConnection​(javax.resource.spi.ManagedConnectionFactory mcf,
                                         javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                  throws javax.resource.ResourceException
        Allocate a new connection.
        Specified by:
        allocateConnection in interface javax.resource.spi.ConnectionManager
        Parameters:
        mcf -
        cxRequestInfo -
        Returns:
        A new connection
        Throws:
        javax.resource.ResourceException - Failed to create connection.