org.objectweb.joram.client.connector
Class DefaultConnectionManager
java.lang.Object
org.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
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 |
DefaultConnectionManager
public DefaultConnectionManager()
- Creates a
DefaultConnectionManager
instance.
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.
Copyright ? 2004 Scalagent - All rights reserved