|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.adapter.spi.NonManagedConnectionManager
A connection manager allows a resource adapter to leverage the connection
management offered by a J2EE CA container. This class provides a simple
connection manager for resource adapters in a non-managed scenario.
Non-managed means there is no J2EE CA container managing the resource
adapter. Instances of this class are responsible for delegating the
connection request to the ManagedConnectionFactory
instance.
Constructor Summary | |
NonManagedConnectionManager(LogContext logContext)
|
Method Summary | |
Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
Used by a resource adapter's connection factory to allow "this" connection manager to handle a connection request. |
protected LogContext |
getLogContext()
Retrieves an object that determines the logging configuration for this instance in the logging framework. |
protected ILogger |
getLogger()
Retrieves an object used to log information to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NonManagedConnectionManager(LogContext logContext)
Method Detail |
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) throws javax.resource.ResourceException
allocateConnection
in interface javax.resource.spi.ConnectionManager
managedConnectionFactory
- - used to create an instance of a
ManagedConnection
connectionRequestInfo
- - represents information specific to a
resource adapter to handle the connection request.
javax.resource.ResourceException
- - an exceptional condition was encountered while
processing the connection request.protected LogContext getLogContext()
protected ILogger getLogger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |