com.github.smokestack.jca.cci
Class MockLocalTransaction
java.lang.Object
com.github.smokestack.jca.cci.MockLocalTransaction
- All Implemented Interfaces:
- LocalTransaction
public class MockLocalTransaction
- extends Object
- implements LocalTransaction
localTransactionState
protected MockLocalTransaction.LocalTransactionState localTransactionState
MockLocalTransaction
public MockLocalTransaction()
begin
public void begin()
throws ResourceException
- Specified by:
begin
in interface LocalTransaction
- Throws:
ResourceException
_begin
public void _begin()
throws ResourceException
- Throws:
ResourceException
commit
public void commit()
throws ResourceException
- Specified by:
commit
in interface LocalTransaction
- Throws:
ResourceException
_commit
public void _commit()
throws ResourceException
- Throws:
ResourceException
rollback
public void rollback()
throws ResourceException
- Specified by:
rollback
in interface LocalTransaction
- Throws:
ResourceException
_rollback
public void _rollback()
throws ResourceException
- Throws:
ResourceException
getMockTransactionState
public MockLocalTransaction.LocalTransactionState getMockTransactionState()
_getMockTransactionState
public MockLocalTransaction.LocalTransactionState _getMockTransactionState()
assertMockComplete
public void assertMockComplete()
assertMockCommit
public void assertMockCommit()
validateMockRollback
public void validateMockRollback()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2010 Smokestack. All Rights Reserved.