Package com.adaptris.core.http.jetty
Class JettyWorkflowInterceptorImpl
java.lang.Object
com.adaptris.core.interceptor.WorkflowInterceptorImpl
com.adaptris.core.http.jetty.JettyWorkflowInterceptorImpl
- All Implemented Interfaces:
AdaptrisComponent
,ComponentLifecycle
,ComponentLifecycleExtension
,StateManagedComponent
,WorkflowInterceptor
- Direct Known Subclasses:
JettyAsyncWorkflowInterceptor
,JettyPoolingWorkflowInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.adaptris.core.interceptor.WorkflowInterceptorImpl
WorkflowInterceptorImpl.WorkflowInterceptorException
-
Field Summary
Fields inherited from class com.adaptris.core.interceptor.WorkflowInterceptorImpl
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the component.protected static void
endWorkflow
(AdaptrisMessage inputMsg, AdaptrisMessage outputMsg) void
init()
Initialises the component.protected static void
void
start()
Starts the component.void
stop()
Stop the componentMethods inherited from class com.adaptris.core.interceptor.WorkflowInterceptorImpl
changeState, getUniqueId, parentChannel, parentWorkflow, prepare, registerParentChannel, registerParentWorkflow, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setUniqueId, wasSuccessful
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.adaptris.core.WorkflowInterceptor
processingStart, workflowEnd, workflowStart
-
Constructor Details
-
JettyWorkflowInterceptorImpl
public JettyWorkflowInterceptorImpl()
-
-
Method Details
-
init
Description copied from interface:ComponentLifecycle
Initialises the component.Component initialisation includes config verification, creation of connections etc.
- Throws:
CoreException
- wrapping any underlyingException
s
-
start
Description copied from interface:ComponentLifecycle
Starts the component.Once a component is started it should be ready to process messages. In the case of
AdaptrisMessageConsumer
, calling start will begin message delivery.- Throws:
CoreException
- wrapping any underlyingException
s
-
stop
public void stop()Description copied from interface:ComponentLifecycle
Stop the componentA stopped component is not expected to be ready to process messages. In the case of
AdaptrisMessageConsumer
, calling stop will pause message delivery. Throwing aRuntimeException
may cause unintended consequences -
close
public void close()Description copied from interface:ComponentLifecycle
Closes the component.A closed component should release any connections it uses, etc. and clean up completely. Throwing a
RuntimeException
may cause unintended consequences -
endWorkflow
-
messageComplete
-