org.firebirdsql.jca
Class FBStandAloneConnectionManager

java.lang.Object
  extended byorg.firebirdsql.jca.FBStandAloneConnectionManager
All Implemented Interfaces:
javax.resource.spi.ConnectionEventListener, javax.resource.spi.ConnectionManager, java.util.EventListener, java.io.Serializable

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

The class FBStandAloneConnectionManager provides the default implementation of ConnectionManager for standalone use. There is no pooling or other features..

Version:
1.0
Author:
David Jencks
See Also:
Serialized Form

Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
           
 void connectionClosed(javax.resource.spi.ConnectionEvent ce)
           
 void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
           
 void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
           
 void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
           
 void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException

connectionClosed

public void connectionClosed(javax.resource.spi.ConnectionEvent ce)
Specified by:
connectionClosed in interface javax.resource.spi.ConnectionEventListener

connectionErrorOccurred

public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
Specified by:
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener

localTransactionStarted

public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
Specified by:
localTransactionStarted in interface javax.resource.spi.ConnectionEventListener

localTransactionCommitted

public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
Specified by:
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener

localTransactionRolledback

public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
Specified by:
localTransactionRolledback in interface javax.resource.spi.ConnectionEventListener


Copyright © 2001 David Jencks and other authors. All rights reserved.