C
- Type of processing contextpublic abstract class RoutingProcessingStage<C extends ProcessingContext> extends Object implements ProcessingStage<C>
Constructor and Description |
---|
RoutingProcessingStage(ProcessingStage<C> next) |
Modifier and Type | Method and Description |
---|---|
protected abstract ProcessingStage<C> |
doExecute(C context,
ProcessingStage<C> next)
Execute current stage and calculate the next stage.
|
ProcessingStage<C> |
execute(C context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after
public RoutingProcessingStage(ProcessingStage<C> next)
next
- Default next processing stagepublic ProcessingStage<C> execute(C context)
execute
in interface ProcessingStage<C extends ProcessingContext>
context
- Processing contextprotected abstract ProcessingStage<C> doExecute(C context, ProcessingStage<C> next)
context
- Processing contextnext
- Default next stage (usually statically configured in ProcessorFactory)Copyright © 2016–2021. All rights reserved.