|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.mock.connector.cci.MockInteraction
public class MockInteraction
Mock implementation of Interaction
.
The execute
calls are delegated to
InteractionHandler
.
Constructor Summary | |
---|---|
MockInteraction(MockConnection mockConnection)
|
Method Summary | |
---|---|
void |
clearWarnings()
|
void |
close()
|
javax.resource.cci.Record |
execute(javax.resource.cci.InteractionSpec is,
javax.resource.cci.Record record)
Calls InteractionHandler.execute(InteractionSpec, Record) . |
boolean |
execute(javax.resource.cci.InteractionSpec is,
javax.resource.cci.Record request,
javax.resource.cci.Record response)
Calls InteractionHandler.execute(InteractionSpec, Record, Record) . |
javax.resource.cci.Connection |
getConnection()
|
javax.resource.cci.ResourceWarning |
getWarnings()
Returns null , warnings not supported yet. |
boolean |
isClosed()
Returns if this Interaction is closed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockInteraction(MockConnection mockConnection)
Method Detail |
---|
public void clearWarnings() throws javax.resource.ResourceException
clearWarnings
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public void close() throws javax.resource.ResourceException
close
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec is, javax.resource.cci.Record record) throws javax.resource.ResourceException
InteractionHandler.execute(InteractionSpec, Record)
.
execute
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public boolean execute(javax.resource.cci.InteractionSpec is, javax.resource.cci.Record request, javax.resource.cci.Record response) throws javax.resource.ResourceException
InteractionHandler.execute(InteractionSpec, Record, Record)
.
execute
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public javax.resource.cci.Connection getConnection()
getConnection
in interface javax.resource.cci.Interaction
public boolean isClosed()
Interaction
is closed.
true
if this Interaction
is closed,
false
otherwisepublic javax.resource.cci.ResourceWarning getWarnings() throws javax.resource.ResourceException
null
, warnings not supported yet.
getWarnings
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |