|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Interaction
The javax.resource.cci.Interaction enables a component to execute EIS functions. An Interaction instance supports the following ways of interacting with an EIS instance:
| Method Summary | |
|---|---|
void |
clearWarnings()
Clears all the warning reported by this Interaction instance. |
void |
close()
Closes the current Interaction and release all the resources held for this instance by the resource adapter. |
Record |
execute(InteractionSpec ispec,
Record input)
Executes an interaction represented by the InteractionSpec. |
boolean |
execute(InteractionSpec ispec,
Record input,
Record output)
Executes an interaction represented by the InteractionSpec. |
Connection |
getConnection()
Gets the Connection associated with the Interaction. |
ResourceWarning |
getWarnings()
Gets the first ResourceWarning from the chain of warnings associated with this Interaction instance. |
| Method Detail |
|---|
void close()
throws ResourceException
ResourceException - Failed to close the Interaction instance.
Invoking close on an already closed Interaction should also
throw this exception.Connection getConnection()
boolean execute(InteractionSpec ispec,
Record input,
Record output)
throws ResourceException
ispec - InteractionSpec representing a target EIS data/function moduleinput - Input Recordoutput - Output Record
ResourceException - Exception if execute operation fails. Examples
of error cases are:NotSupportedException - Operation not supported
Record execute(InteractionSpec ispec,
Record input)
throws ResourceException
ispec - InteractionSpec representing a target EIS data/function moduleinput - Input Record
ResourceException - Exception if execute operation fails. Examples
of error cases are:NotSupportedException - Operation not supported
ResourceWarning getWarnings()
throws ResourceException
ResourceException - Failed to get ResourceWarnings associated with
Interaction
void clearWarnings()
throws ResourceException
ResourceException - Failed to clear ResourceWarnings associated with
Interaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||