Package org.apache.activemq.artemis.ra
Class ActiveMQRAConnectionManager
- java.lang.Object
-
- org.apache.activemq.artemis.ra.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 Summary
Constructors Constructor Description ActiveMQRAConnectionManager()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectallocateConnection(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo)Allocates a connectionvoidstop()
-
-
-
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:
allocateConnectionin interfacejakarta.resource.spi.ConnectionManager- Parameters:
mcf- The managed connection factorycxRequestInfo- The connection request information- Returns:
- The connection
- Throws:
jakarta.resource.ResourceException- Thrown if there is a problem obtaining the connection
-
stop
public void stop()
-
-