Package org.jboss.resource.adapter.jms
Class JmsConnectionManager
- java.lang.Object
-
- org.jboss.resource.adapter.jms.JmsConnectionManager
-
- All Implemented Interfaces:
Serializable,javax.resource.spi.ConnectionManager
public class JmsConnectionManager extends Object implements javax.resource.spi.ConnectionManager
The resource adapters own ConnectionManager, used in non-managed environments. Will handle some of the houskeeping an appserver nomaly does.- Author:
- Peter Antman., Adrian Brock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JmsConnectionManager()Construct a JmsConnectionManager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectallocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)Allocate a new connection.
-
-
-
Method Detail
-
allocateConnection
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
Allocate a new connection.- Specified by:
allocateConnectionin interfacejavax.resource.spi.ConnectionManager- Parameters:
mcf-cxRequestInfo-- Returns:
- A new connection
- Throws:
javax.resource.ResourceException- Failed to create connection.
-
-