|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.firebirdsql.jca.FBLocalTransaction
The class FBLocalTransaction
implements
LocalTransaction both in the cci and spi meanings. A flag is used
to distinguish the current functionality. This class works by
delegating the operations to the internal implementations of the
XAResource functionality in FBManagedConnection.
Constructor Summary | |
FBLocalTransaction(FBManagedConnection mc,
AbstractConnection c)
|
Method Summary | |
void |
begin()
Begin a local transaction Throws: ResourceException - generic exception if operation fails LocalTransactionException - error condition related to local transaction management ResourceAdapterInternalException - error condition internal to resource adapter EISSystemException - EIS instance specific error condition |
void |
commit()
Commit a local transaction Throws: ResourceException - generic exception if operation fails LocalTransactionException - error condition related to local transaction management ResourceAdapterInternalException - error condition internal to resource adapter EISSystemException - EIS instance specific error condition |
void |
internalBegin()
|
void |
internalCommit()
|
void |
internalRollback()
|
void |
rollback()
Rollback a local transaction Throws: ResourceException - generic exception if operation fails LocalTransactionException - error condition related to local transaction management ResourceAdapterInternalException - error condition internal to resource adapter EISSystemException - EIS instance specific error condition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FBLocalTransaction(FBManagedConnection mc, AbstractConnection c)
Method Detail |
public void begin() throws javax.resource.ResourceException
begin
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public void internalBegin() throws javax.resource.ResourceException
javax.resource.ResourceException
public void commit() throws javax.resource.ResourceException
commit
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public void internalCommit() throws javax.resource.ResourceException
javax.resource.ResourceException
public void rollback() throws javax.resource.ResourceException
rollback
in interface javax.resource.spi.LocalTransaction
javax.resource.ResourceException
public void internalRollback() throws javax.resource.ResourceException
javax.resource.ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |