protected class DispatchStackImpl.TopLayer extends AbstractDispatchLayer<Object>
CLEANUP_DELAY_MS, cleanupTimer, dispatchStack
Modifier | Constructor and Description |
---|---|
protected |
TopLayer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Object config)
When the item is built from the workflow definition XML the object is
first constructed with a default constructor then this method is called,
passing in the configuration bean returned by getConfiguration().
|
Object |
getConfiguration()
Each item stores configuration within a bean of type ConfigurationType,
this method returns the configuration.
|
void |
receiveError(DispatchErrorEvent errorEvent)
Receive a single error reference from the layer below
|
void |
receiveResult(DispatchResultEvent resultEvent)
Receive a result from the layer below
|
void |
receiveResultCompletion(DispatchCompletionEvent completionEvent)
Receive a (possibly partial) completion event from the layer below.
|
finishedWith, getAbove, getBelow, getProcessor, receiveJob, receiveJobQueue, setDispatchStack
public void receiveResult(DispatchResultEvent resultEvent)
DispatchLayer
receiveResult
in interface DispatchLayer<Object>
receiveResult
in class AbstractDispatchLayer<Object>
public void receiveError(DispatchErrorEvent errorEvent)
DispatchLayer
receiveError
in interface DispatchLayer<Object>
receiveError
in class AbstractDispatchLayer<Object>
public void receiveResultCompletion(DispatchCompletionEvent completionEvent)
DispatchLayer
receiveResultCompletion
in interface DispatchLayer<Object>
receiveResultCompletion
in class AbstractDispatchLayer<Object>
public void configure(Object config)
Configurable
public Object getConfiguration()
Configurable
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.