Package org.apache.camel.spi
Interface ModelReifierFactory
public interface ModelReifierFactory
Factory that uses reifiers to build an entity from a given model.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateDataFormat
(CamelContext camelContext, Object dataFormatDefinition) Creates the data format from the model.Creates the default error handler.createErrorHandler
(Route route, ErrorHandlerFactory errorHandlerFactory, Processor processor) Creates the error handler using the factory for the route processor.createErrorHandler
(Route route, Processor processor) Creates the error handler for the route processor.createExpression
(CamelContext camelContext, Object expressionDefinition) Creates the expression from the model.createPredicate
(CamelContext camelContext, Object expressionDefinition) Creates the predicate from the model.createRoute
(CamelContext camelContext, Object routeDefinition) Creates the route from the model.createTransformer
(CamelContext camelContext, Object transformerDefinition) Creates the transformer from the model.createValidator
(CamelContext camelContext, Object transformerDefinition) Creates the validator from the model.
-
Field Details
-
FACTORY
Service factory key for custom factories.- See Also:
-
-
Method Details
-
createRoute
Creates the route from the model. -
createDataFormat
Creates the data format from the model. -
createErrorHandler
Creates the error handler for the route processor.- Throws:
Exception
-
createErrorHandler
Processor createErrorHandler(Route route, ErrorHandlerFactory errorHandlerFactory, Processor processor) throws Exception Creates the error handler using the factory for the route processor.- Throws:
Exception
-
createDefaultErrorHandler
ErrorHandlerFactory createDefaultErrorHandler()Creates the default error handler. -
createExpression
Creates the expression from the model. -
createPredicate
Creates the predicate from the model. -
createTransformer
Creates the transformer from the model. -
createValidator
Creates the validator from the model.
-