Package org.firebirdsql.jca
Class FBStandAloneConnectionManager
- java.lang.Object
- 
- org.firebirdsql.jca.FBStandAloneConnectionManager
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.util.EventListener,- javax.resource.spi.ConnectionEventListener,- javax.resource.spi.ConnectionManager
 
 public class FBStandAloneConnectionManager extends java.lang.Object implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener, java.io.SerializableThe classFBStandAloneConnectionManagerprovides the default implementation of ConnectionManager for standalone use. There is no pooling or other features..- Version:
- 1.0
- Author:
- David Jencks, Mark Rotteveel
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectallocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)Allocate a newManagedConnection.voidconnectionClosed(javax.resource.spi.ConnectionEvent ce)javax.resource.spi.ConnectionEventListenercallback for when aManagedConnectionis closed.voidconnectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)javax.resource.spi.ConnectionEventListenercallback for when a Local Transaction was rolled back within the context of aManagedConnection.voidlocalTransactionCommitted(javax.resource.spi.ConnectionEvent event)Ignored event callbackvoidlocalTransactionRolledback(javax.resource.spi.ConnectionEvent event)Ignored event callbackvoidlocalTransactionStarted(javax.resource.spi.ConnectionEvent event)Ignored event callback
 
- 
- 
- 
Method Detail- 
allocateConnectionpublic java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceExceptionAllocate a newManagedConnection.- Specified by:
- allocateConnectionin interface- javax.resource.spi.ConnectionManager
- Parameters:
- mcf- The- ManagedConnectionFactoryused to create the new connection.
- cxRequestInfo- The parameters to be used in creating the new connection
- Throws:
- javax.resource.ResourceException- If the connection cannot be allocated
 
 - 
connectionClosedpublic void connectionClosed(javax.resource.spi.ConnectionEvent ce) javax.resource.spi.ConnectionEventListenercallback for when aManagedConnectionis closed.- Specified by:
- connectionClosedin interface- javax.resource.spi.ConnectionEventListener
- Parameters:
- ce- contains information about the connection that has be closed
 
 - 
connectionErrorOccurredpublic void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce) javax.resource.spi.ConnectionEventListenercallback for when a Local Transaction was rolled back within the context of aManagedConnection.- Specified by:
- connectionErrorOccurredin interface- javax.resource.spi.ConnectionEventListener
- Parameters:
- ce- contains information about the connection
 
 - 
localTransactionStartedpublic void localTransactionStarted(javax.resource.spi.ConnectionEvent event) Ignored event callback- Specified by:
- localTransactionStartedin interface- javax.resource.spi.ConnectionEventListener
 
 - 
localTransactionCommittedpublic void localTransactionCommitted(javax.resource.spi.ConnectionEvent event) Ignored event callback- Specified by:
- localTransactionCommittedin interface- javax.resource.spi.ConnectionEventListener
 
 - 
localTransactionRolledbackpublic void localTransactionRolledback(javax.resource.spi.ConnectionEvent event) Ignored event callback- Specified by:
- localTransactionRolledbackin interface- javax.resource.spi.ConnectionEventListener
 
 
- 
 
-