com.github.smokestack.jca.cci
Class MockLocalTransaction

java.lang.Object
  extended by com.github.smokestack.jca.cci.MockLocalTransaction
All Implemented Interfaces:
LocalTransaction

public class MockLocalTransaction
extends Object
implements LocalTransaction


Nested Class Summary
static class MockLocalTransaction.LocalTransactionState
           
 
Field Summary
protected  MockLocalTransaction.LocalTransactionState localTransactionState
           
 
Constructor Summary
MockLocalTransaction()
           
 
Method Summary
 void _begin()
           
 void _commit()
           
 MockLocalTransaction.LocalTransactionState _getMockTransactionState()
           
 void _rollback()
           
 void assertMockCommit()
           
 void assertMockComplete()
           
 void begin()
           
 void commit()
           
 MockLocalTransaction.LocalTransactionState getMockTransactionState()
           
 void rollback()
           
 String toString()
           
 void validateMockRollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

localTransactionState

protected MockLocalTransaction.LocalTransactionState localTransactionState
Constructor Detail

MockLocalTransaction

public MockLocalTransaction()
Method Detail

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.