Class ActiveMQRAConnectionManager

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

    public class ActiveMQRAConnectionManager
    extends Object
    implements jakarta.resource.spi.ConnectionManager
    The connection manager used in non-managed environments.
    See Also:
    Serialized Form
    • Constructor Detail

      • ActiveMQRAConnectionManager

        public ActiveMQRAConnectionManager()
        Constructor
    • Method Detail

      • allocateConnection

        public Object allocateConnection​(jakarta.resource.spi.ManagedConnectionFactory mcf,
                                         jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                  throws jakarta.resource.ResourceException
        Allocates a connection
        Specified by:
        allocateConnection in interface jakarta.resource.spi.ConnectionManager
        Parameters:
        mcf - The managed connection factory
        cxRequestInfo - The connection request information
        Returns:
        The connection
        Throws:
        jakarta.resource.ResourceException - Thrown if there is a problem obtaining the connection
      • stop

        public void stop()