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.
- Version:
- $Revision: 1.6.6.3 $
- Author:
- Peter Antman., Adrian Brock
- See Also:
- Serialized Form
Method Summary |
Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Allocate a new connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsConnectionManager
public JmsConnectionManager()
- Construct a JmsConnectionManager.
allocateConnection
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
throws javax.resource.ResourceException
- Allocate a new connection.
- Specified by:
allocateConnection
in interface javax.resource.spi.ConnectionManager
- Parameters:
mcf
- cxRequestInfo
-
- Returns:
- A new connection
- Throws:
javax.resource.ResourceException
- Failed to create connection.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.