public abstract class AbstractRequestInteraction extends java.lang.Object implements RequestInteraction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
AbstractRequestInteraction() |
Modifier and Type | Method and Description |
---|---|
protected RequestConnector |
getConnector() |
void |
initialise(RequestConnector connector)
Initialise the interaction by passing in the owning connector
|
protected void |
onInitialise()
Method called after initialisation state has been saved.
|
void |
terminate()
Called to allow the interaction to close any resources it may have created.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asyncRequest, request
public static final java.lang.String COPYRIGHT
public void initialise(RequestConnector connector) throws ConnectorException
RequestInteraction
initialise
in interface RequestInteraction
connector
- the owning connectorConnectorException
RequestInteraction.initialise(com.ibm.connectors.RequestConnector)
protected void onInitialise() throws java.lang.Exception
java.lang.Exception
protected RequestConnector getConnector()
public void terminate() throws ConnectorException
RequestInteraction
terminate
in interface RequestInteraction
ConnectorException
RequestInteraction.terminate()