javax.transaction

Interface Transaction

public interface Transaction

UNKNOWN: May 25, 2001

Method Summary
voidcommit()
booleandelistResource(XAResource xaRes, int flag)
booleanenlistResource(XAResource xaRes)
intgetStatus()
voidregisterSynchronization(Synchronization sync)
voidrollback()
voidsetRollbackOnly()

Method Detail

commit

public void commit()

delistResource

public boolean delistResource(XAResource xaRes, int flag)

enlistResource

public boolean enlistResource(XAResource xaRes)

getStatus

public int getStatus()

registerSynchronization

public void registerSynchronization(Synchronization sync)

rollback

public void rollback()

setRollbackOnly

public void setRollbackOnly()