|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.firebirdsql.jca.FBStandAloneConnectionManager
public class FBStandAloneConnectionManager
The class FBStandAloneConnectionManager
provides the
default implementation of ConnectionManager for standalone use.
There is no pooling or other features..
Method Summary | |
---|---|
java.lang.Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Allocate a new ManagedConnection . |
void |
connectionClosed(javax.resource.spi.ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener callback for
when a ManagedConnection is closed. |
void |
connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener callback for
when a Local Transaction was rolled back within the context of a
ManagedConnection . |
void |
localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
Ignored event callback |
void |
localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
Ignored event callback |
void |
localTransactionStarted(javax.resource.spi.ConnectionEvent event)
Ignored event callback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
ManagedConnection
.
allocateConnection
in interface javax.resource.spi.ConnectionManager
mcf
- The ManagedConnectionFactory
used to create
the new connection.cxRequestInfo
- The parameters to be used in creating the
new connection
javax.resource.ResourceException
- If the connection cannot be allocatedpublic void connectionClosed(javax.resource.spi.ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener
callback for
when a ManagedConnection
is closed.
connectionClosed
in interface javax.resource.spi.ConnectionEventListener
ce
- contains information about the connection that has be closedpublic void connectionErrorOccurred(javax.resource.spi.ConnectionEvent ce)
javax.resource.spi.ConnectionEventListener
callback for
when a Local Transaction was rolled back within the context of a
ManagedConnection
.
connectionErrorOccurred
in interface javax.resource.spi.ConnectionEventListener
ce
- contains information about the connectionpublic void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
localTransactionStarted
in interface javax.resource.spi.ConnectionEventListener
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
localTransactionCommitted
in interface javax.resource.spi.ConnectionEventListener
public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
localTransactionRolledback
in interface javax.resource.spi.ConnectionEventListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |