|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.resource.cci
|
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 supportedRecord 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 supportedResourceWarning getWarnings() throws ResourceException
ResourceException
- Failed to get ResourceWarnings
associated with Interactionvoid clearWarnings() throws ResourceException
ResourceException
- Failed to clear ResourceWarnings
associated with Interaction