public abstract class JettyWorkflowInterceptorImpl extends WorkflowInterceptorImpl
WorkflowInterceptorImpl.WorkflowInterceptorException
log
Constructor and Description |
---|
JettyWorkflowInterceptorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the component.
|
protected static void |
endWorkflow(AdaptrisMessage inputMsg,
AdaptrisMessage outputMsg) |
void |
init()
Initialises the component.
|
protected static void |
messageComplete(AdaptrisMessage msg) |
void |
start()
Starts the component.
|
void |
stop()
Stop the component
|
changeState, getUniqueId, parentChannel, parentWorkflow, prepare, registerParentChannel, registerParentWorkflow, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setUniqueId, wasSuccessful
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
workflowEnd, workflowStart
public void init() throws CoreException
ComponentLifecycle
Component initialisation includes config verification, creation of connections etc.
CoreException
- wrapping any underlying Exception
spublic void start() throws CoreException
ComponentLifecycle
Once a component is started it should be ready to process messages. In the case of
AdaptrisMessageConsumer
, calling start will begin message delivery.
CoreException
- wrapping any underlying Exception
spublic void stop()
ComponentLifecycle
A stopped component is not expected to be ready to process messages. In the case of
AdaptrisMessageConsumer
, calling stop will pause message delivery. Throwing a
RuntimeException
may cause unintended consequences
public void close()
ComponentLifecycle
A closed component should release any connections it uses, etc. and clean up completely.
Throwing a RuntimeException
may cause unintended consequences
protected static void endWorkflow(AdaptrisMessage inputMsg, AdaptrisMessage outputMsg)
protected static void messageComplete(AdaptrisMessage msg)