Package org.apache.activemq.artemis.ra
Class ActiveMQRAConnectionManager
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ActiveMQRAConnectionManager
-
- All Implemented Interfaces:
java.io.Serializable,javax.resource.spi.ConnectionManager
public class ActiveMQRAConnectionManager extends java.lang.Object implements javax.resource.spi.ConnectionManagerThe 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 java.lang.ObjectallocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)Allocates a connectionvoidstop()
-
-
-
Method Detail
-
allocateConnection
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceExceptionAllocates a connection- Specified by:
allocateConnectionin interfacejavax.resource.spi.ConnectionManager- Parameters:
mcf- The managed connection factorycxRequestInfo- The connection request information- Returns:
- The connection
- Throws:
javax.resource.ResourceException- Thrown if there is a problem obtaining the connection
-
stop
public void stop()
-
-