Interface Channel
- All Superinterfaces:
AsyncProcessor, Navigate<Processor>, Processor
-
Method Summary
Modifier and TypeMethodDescriptionGets theErrorHandlerthis Channel uses.Gets the nextProcessorto route to (not wrapped)Gets the wrapped output that at runtime should be delegated to.getRoute()Gets theRoutevoidinitChannel(Route route, NamedNode definition, NamedNode childDefinition, List<InterceptStrategy> interceptors, Processor nextProcessor, NamedRoute routeDefinition, boolean first) Initializes the channel.voidPost initializes the channel.voidsetErrorHandler(Processor errorHandler) Sets theErrorHandlerthis Channel uses.Methods inherited from interface AsyncProcessor
process, processAsync
-
Method Details
-
initChannel
void initChannel(Route route, NamedNode definition, NamedNode childDefinition, List<InterceptStrategy> interceptors, Processor nextProcessor, NamedRoute routeDefinition, boolean first) throws Exception Initializes the channel. If the initialized output definition contained outputs (children) then the childDefinition will be set so we can leverage fine grained tracing- Throws:
Exception
-
postInitChannel
-
getErrorHandler
Processor getErrorHandler()Gets theErrorHandlerthis Channel uses.- Returns:
- the error handler, or null if no error handler is used.
-
setErrorHandler
Sets theErrorHandlerthis Channel uses.- Parameters:
errorHandler- the error handler
-
getOutput
-
getNextProcessor
-
getRoute
-