Package org.apache.activemq.artemis.ra
Class ActiveMQRAConnectionManager
java.lang.Object
org.apache.activemq.artemis.ra.ActiveMQRAConnectionManager
- All Implemented Interfaces:
ConnectionManager,Serializable
The connection manager used in non-managed environments.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) Allocates a connectionvoidstop()
-
Constructor Details
-
ActiveMQRAConnectionManager
public ActiveMQRAConnectionManager()
-
-
Method Details
-
allocateConnection
public Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) throws ResourceException Allocates a connection- Specified by:
allocateConnectionin interfaceConnectionManager- Parameters:
mcf- The managed connection factorycxRequestInfo- The connection request information- Returns:
- The connection
- Throws:
ResourceException- Thrown if there is a problem obtaining the connection
-
stop
public void stop()
-