org.firebirdsql.jca
Class FBStandAloneConnectionManager
java.lang.Object
org.firebirdsql.jca.FBStandAloneConnectionManager
- ConnectionEventListener, ConnectionManager, Serializable
public class FBStandAloneConnectionManager
extends java.lang.Object
implements ConnectionManager, ConnectionEventListener, Serializable
The class FBStandAloneConnectionManager
provides the
default implementation of ConnectionManager for standalone use.
There is no pooling or other features..
Object | allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) - Allocate a new
ManagedConnection .
|
void | connectionClosed(ConnectionEvent ce) -
javax.resource.spi.ConnectionEventListener callback for
when a ManagedConnection is closed.
|
void | connectionErrorOccurred(ConnectionEvent ce) -
javax.resource.spi.ConnectionEventListener callback for
when a Local Transaction was rolled back within the context of a
ManagedConnection .
|
void | localTransactionCommitted(ConnectionEvent event) - Ignored event callback
|
void | localTransactionRolledback(ConnectionEvent event) - Ignored event callback
|
void | localTransactionStarted(ConnectionEvent event) - Ignored event callback
|
allocateConnection
public Object allocateConnection(ManagedConnectionFactory mcf,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
Allocate a new ManagedConnection
.
mcf
- The ManagedConnectionFactory
used to create
the new connection.cxRequestInfo
- The parameters to be used in creating the
new connection
connectionClosed
public void connectionClosed(ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener
callback for
when a ManagedConnection
is closed.
ce
- contains information about the connection that has be closed
connectionErrorOccurred
public void connectionErrorOccurred(ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener
callback for
when a Local Transaction was rolled back within the context of a
ManagedConnection
.
ce
- contains information about the connection
localTransactionCommitted
public void localTransactionCommitted(ConnectionEvent event)
Ignored event callback
localTransactionRolledback
public void localTransactionRolledback(ConnectionEvent event)
Ignored event callback
localTransactionStarted
public void localTransactionStarted(ConnectionEvent event)
Ignored event callback
Copyright B) 2001 David Jencks and other authors. All rights reserved.