com.sun.genericra.outbound
Class ConnectionManager

java.lang.Object
  extended by com.sun.genericra.outbound.ConnectionManager
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ConnectionManager

public class ConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager, java.io.Serializable

Default simple ConnectionManager implementation of the generic JMS Resource Adapter Creates a new ManagedConnection for every allocateConnection

Author:
Sivakumar Thyagarajan
See Also:
Serialized Form

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

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException