org.jboss.messaging.ra
Class JBMConnectionManager

java.lang.Object
  extended by org.jboss.messaging.ra.JBMConnectionManager
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ConnectionManager

public class JBMConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager

The connection manager used in non-managed environments.

Version:
$Revision: $
Author:
Adrian Brock, Jesper Pedersen
See Also:
Serialized Form

Constructor Summary
JBMConnectionManager()
          Constructor
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
          Allocates a connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBMConnectionManager

public JBMConnectionManager()
Constructor

Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                    throws javax.resource.ResourceException
Allocates a connection

Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Parameters:
mcf - The managed connection factory
cxRequestInfo - The connection request information
Returns:
The connection
Throws:
javax.resource.ResourceException - Thrown if there is a problem obtaining the connection


Copyright © 2006 JBoss Inc. All Rights Reserved.