|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.J2HODInteraction
This class enables a component to execute EIS functions. An Interaction instance supports the following ways of interacting with an EIS instance:
execute
method that takes an input Record, output Record
and an InteractionSpec. This method executes the EIS function
represented by the InteractionSpec and updates the output Record.
execute
method that takes an input Record and
an InteractionSpec. This method implementation executes the
EIS function represented by the InteractionSpec and produces
the output Record as a return value.
Method Summary | |
void |
clearWarnings()
Clears all the warnings reported by this Interaction instance. |
void |
close()
Closes the current Interaction and release all the resources held for this instance by the resource adapter. |
javax.resource.cci.Record |
execute(javax.resource.cci.InteractionSpec ispec,
javax.resource.cci.Record input)
Executes an interaction represented by the InteractionSpec. |
boolean |
execute(javax.resource.cci.InteractionSpec ispec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
Executes an interaction represented by the InteractionSpec. |
javax.resource.cci.Connection |
getConnection()
Gets the Connection associated with the Interaction. |
javax.resource.cci.ResourceWarning |
getWarnings()
Gets the first Resource Warning from the chain of warnings associated with this Interaction instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void clearWarnings() throws javax.resource.ResourceException
clearWarnings
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
- - Failed to clear Resource Warnings associated with Interactionpublic void close() throws javax.resource.ResourceException
close
in interface javax.resource.cci.Interaction
public javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec ispec, javax.resource.cci.Record input) throws javax.resource.ResourceException
execute
in interface javax.resource.cci.Interaction
ispec
- InteractionSpec - InteractionSpec representing a target EIS data/function moduleinput
- Record - Input Recordjavax.resource.ResourceException
- Exception if execute operation failspublic boolean execute(javax.resource.cci.InteractionSpec ispec, javax.resource.cci.Record input, javax.resource.cci.Record output) throws javax.resource.ResourceException
execute
in interface javax.resource.cci.Interaction
ispec
- InteractionSpec - InteractionSpec representing a target EIS data/function moduleinput
- Record - Input Recordoutput
- Record - Output Recordpublic javax.resource.cci.Connection getConnection()
getConnection
in interface javax.resource.cci.Interaction
public javax.resource.cci.ResourceWarning getWarnings() throws javax.resource.ResourceException
getWarnings
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
- - Failed to get Resource Warnings associated with Interaction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |