com.github.smokestack.jca.cci
Class MockInteraction

java.lang.Object
  extended by com.github.smokestack.jca.cci.MockInteraction
All Implemented Interfaces:
Interaction

public class MockInteraction
extends Object
implements Interaction


Nested Class Summary
static class MockInteraction.InteractionState
           
 
Field Summary
protected  MockInteraction.InteractionState interactionState
           
protected  MockConnection mockConnection
           
 
Constructor Summary
MockInteraction(MockConnection mockConnection)
           
 
Method Summary
 void _clearWarnings()
           
 void _close()
           
 Record _execute(InteractionSpec interactionSpec, Record record)
           
 boolean _execute(InteractionSpec interactionSpec, Record record1, Record record2)
           
 Connection _getConnection()
           
 MockInteraction.InteractionState _getMockInteractionState()
           
 ResourceWarning _getWarnings()
           
 void clearWarnings()
           
 void close()
           
 Record execute(InteractionSpec interactionSpec, Record record)
           
 boolean execute(InteractionSpec interactionSpec, Record record1, Record record2)
           
 Connection getConnection()
           
 MockInteraction.InteractionState getMockInteractionState()
           
 ResourceWarning getWarnings()
           
 String toString()
           
 void validateMockComplete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mockConnection

protected MockConnection mockConnection

interactionState

protected MockInteraction.InteractionState interactionState
Constructor Detail

MockInteraction

public MockInteraction(MockConnection mockConnection)
Method Detail

clearWarnings

public void clearWarnings()
                   throws ResourceException
Specified by:
clearWarnings in interface Interaction
Throws:
ResourceException

_clearWarnings

public void _clearWarnings()
                    throws ResourceException
Throws:
ResourceException

close

public void close()
           throws ResourceException
Specified by:
close in interface Interaction
Throws:
ResourceException

_close

public void _close()
            throws ResourceException
Throws:
ResourceException

execute

public Record execute(InteractionSpec interactionSpec,
                      Record record)
               throws ResourceException
Specified by:
execute in interface Interaction
Throws:
ResourceException

_execute

public Record _execute(InteractionSpec interactionSpec,
                       Record record)
                throws ResourceException
Throws:
ResourceException

execute

public boolean execute(InteractionSpec interactionSpec,
                       Record record1,
                       Record record2)
                throws ResourceException
Specified by:
execute in interface Interaction
Throws:
ResourceException

_execute

public boolean _execute(InteractionSpec interactionSpec,
                        Record record1,
                        Record record2)
                 throws ResourceException
Throws:
ResourceException

getConnection

public Connection getConnection()
Specified by:
getConnection in interface Interaction

_getConnection

public Connection _getConnection()

getWarnings

public ResourceWarning getWarnings()
                            throws ResourceException
Specified by:
getWarnings in interface Interaction
Throws:
ResourceException

_getWarnings

public ResourceWarning _getWarnings()
                             throws ResourceException
Throws:
ResourceException

getMockInteractionState

public MockInteraction.InteractionState getMockInteractionState()

_getMockInteractionState

public MockInteraction.InteractionState _getMockInteractionState()

validateMockComplete

public void validateMockComplete()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 Smokestack. All Rights Reserved.