javax.resource.cci
Interface Interaction


public interface Interaction

Statement-like connection with the underlying EIS record.


Method Summary
 void clearWarnings()
          Clears the current set of warnings.
 void close()
          Closes the interaction.
 Record execute(InteractionSpec ispec, Record input)
          Executes, returning a result.
 boolean execute(InteractionSpec ispec, Record input, Record output)
          Executes an interaction.
 Connection getConnection()
          Returns the Connection associated with the Interaction.
 ResourceWarning getWarnings()
          Returns the current set of warnings.
 

Method Detail

getConnection

Connection getConnection()
Returns the Connection associated with the Interaction.


execute

boolean execute(InteractionSpec ispec,
                Record input,
                Record output)
                throws ResourceException
Executes an interaction.

Throws:
ResourceException

execute

Record execute(InteractionSpec ispec,
               Record input)
               throws ResourceException
Executes, returning a result.

Throws:
ResourceException

getWarnings

ResourceWarning getWarnings()
                            throws ResourceException
Returns the current set of warnings.

Throws:
ResourceException

clearWarnings

void clearWarnings()
                   throws ResourceException
Clears the current set of warnings.

Throws:
ResourceException

close

void close()
           throws ResourceException
Closes the interaction.

Throws:
ResourceException