org.jboss.resource.adapter.jms
Class JmsConnectionManager

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsConnectionManager
All Implemented Interfaces:
ConnectionManager (src) , java.io.Serializable

public class JmsConnectionManager
extends java.lang.Object
implements ConnectionManager (src)

The resource adapters own ConnectionManager, used in non-managed environments.

Will handle some of the houskeeping an appserver nomaly does.

Created: Thu Mar 29 16:09:26 2001

See Also:
Serialized Form

Constructor Summary
JmsConnectionManager()
          Construct a JmsConnectionManager.
 
Method Summary
 java.lang.Object allocateConnection(ManagedConnectionFactory (src)  mcf, ConnectionRequestInfo (src)  cxRequestInfo)
          Allocate a new connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionManager

public JmsConnectionManager()
Construct a JmsConnectionManager.

Method Detail

allocateConnection

public java.lang.Object allocateConnection(ManagedConnectionFactory (src)  mcf,
                                           ConnectionRequestInfo (src)  cxRequestInfo)
                                    throws ResourceException (src) 
Allocate a new connection.

Specified by:
allocateConnection in interface ConnectionManager (src)
Parameters:
mcf -
cxRequestInfo -
Returns:
A new connection
Throws:
ResourceException (src) - Failed to create connection.