java.lang.Objectcom.ibm.commerce.messaging.adapters.jcasample.SampleInteraction
This class is invoked by SampleConnection.createInteraction() method. Once an interaction has been executed, the input message will be printed to standard output.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
Constructor Summary | |
SampleInteraction() SampleInteraction default constructor |
|
SampleInteraction(Connection con) SampleInteraction constructor |
Method Summary | |
void | clearWarnings() Clears warnings. |
void | close() Close the connection |
Record | execute(InteractionSpec interaction, Record record) Executes the interaction. |
boolean | execute(InteractionSpec interaction, Record in, Record out) Executes the interaction. |
Connection | getConnection() Gets the connection |
ResourceWarning | getWarnings() Gets warnings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public SampleInteraction() throws ResourceException
public SampleInteraction(Connection con) throws ResourceException
Method Detail |
public Connection getConnection()
public void close() throws ResourceException
public Record execute(InteractionSpec interaction, Record record) throws ResourceException
public boolean execute(InteractionSpec interaction, Record in, Record out) throws ResourceException
public ResourceWarning getWarnings() throws ResourceException
public void clearWarnings() throws ResourceException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.