Joram ${version}

org.objectweb.joram.client.connector
Class DefaultConnectionManager

java.lang.Object
  extended byorg.objectweb.joram.client.connector.DefaultConnectionManager
All Implemented Interfaces:
javax.resource.spi.ConnectionManager, java.io.Serializable

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

The DefaultConnectionManager class is the default connection manager provided with JORAM resource adapter, which intercepts connections requests coming from non managed client applications.

See Also:
Serialized Form

Constructor Summary
DefaultConnectionManager()
          Creates a DefaultConnectionManager instance.
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequest)
          Returns a javax.jms.Connection connection instance for a non managed application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConnectionManager

public DefaultConnectionManager()
Creates a DefaultConnectionManager instance.

Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cxRequest)
                                    throws javax.resource.ResourceException
Returns a javax.jms.Connection connection instance for a non managed application.

Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.spi.CommException - If connecting fails.
javax.resource.spi.SecurityException - If connecting is not authorized.
javax.resource.ResourceException - Generic exception.

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved