Methods Summary |
---|
public void | clearWarnings()Clears all the warning reported by this Interaction instance. After
a call to this method, the method getWarnings will return null
until a new warning is reported for this Interaction.
|
public void | close()Closes the current Interaction and release all the resources
held for this instance by the resource adapter. The close of an
Interaction instance does not close the associated Connection
instance. It is recommended that Interaction instances be
closed explicitly to free any held resources.
|
public boolean | execute(InteractionSpec ispec, java.lang.Record input, java.lang.Record output)Executes an interaction represented by the InteractionSpec.
This form of invocation takes an input Record and updates
the output Record.
|
public java.lang.Record | execute(InteractionSpec ispec, java.lang.Record input)Executes an interaction represented by the InteractionSpec.
This form of invocation takes an input Record and returns an
output Record if the execution of the Interaction has been
successfull.
|
public Connection | getConnection()Gets the Connection associated with the Interaction.
|
public ResourceWarning | getWarnings()Gets the first ResourceWarning from the chain of warnings
associated with this Interaction instance.
|