org.jppf.jca.cci
Class JPPFInteraction

java.lang.Object
  extended by org.jppf.jca.cci.JPPFInteraction
All Implemented Interfaces:
Interaction

public class JPPFInteraction
extends Object
implements Interaction

Implementation of the Interaction interface.

Author:
Laurent Cohen

Constructor Summary
JPPFInteraction(JPPFConnectionImpl conn)
          Intialize this interaction with a specified connection.
 
Method Summary
 void clearWarnings()
           
 void close()
           
 Record execute(InteractionSpec ispec, Record input)
          This method does nothing.
 boolean execute(InteractionSpec ispec, Record input, Record output)
          This method does nothing.
 Connection getConnection()
          Get the connection.
 ResourceWarning getWarnings()
          This method does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFInteraction

public JPPFInteraction(JPPFConnectionImpl conn)
Intialize this interaction with a specified connection.

Parameters:
conn - a Connection instance.
Method Detail

clearWarnings

public void clearWarnings()
Specified by:
clearWarnings in interface Interaction
See Also:
Interaction.clearWarnings()

close

public void close()
Specified by:
close in interface Interaction
See Also:
Interaction.close()

execute

public Record execute(InteractionSpec ispec,
                      Record input)
               throws ResourceException
This method does nothing.

Specified by:
execute in interface Interaction
Parameters:
ispec - not used.
input - not used.
Returns:
null.
Throws:
ResourceException - .
See Also:
Interaction.execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record)

execute

public boolean execute(InteractionSpec ispec,
                       Record input,
                       Record output)
                throws ResourceException
This method does nothing.

Specified by:
execute in interface Interaction
Parameters:
ispec - not used.
input - not used.
output - not used.
Returns:
false.
Throws:
ResourceException - .
See Also:
Interaction.execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record, javax.resource.cci.Record)

getConnection

public Connection getConnection()
Get the connection.

Specified by:
getConnection in interface Interaction
Returns:
a Connection instance.
See Also:
Interaction.getConnection()

getWarnings

public ResourceWarning getWarnings()
This method does nothing.

Specified by:
getWarnings in interface Interaction
Returns:
null;
See Also:
Interaction.getWarnings()


Copyright © 2005-2010 JPPF Team.