Class ActiveMQRAConnectionManager

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

    public class ActiveMQRAConnectionManager
    extends java.lang.Object
    implements javax.resource.spi.ConnectionManager
    The connection manager used in non-managed environments.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object allocateConnection​(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
      Allocates a connection
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActiveMQRAConnectionManager

        public ActiveMQRAConnectionManager()
        Constructor
    • Method Detail

      • allocateConnection

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

        public void stop()