Package org.apache.camel.reifier
Class AbstractReifier
java.lang.Object
org.apache.camel.reifier.AbstractReifier
- All Implemented Interfaces:
org.apache.camel.spi.BeanRepository
- Direct Known Subclasses:
DataFormatReifier
,ErrorHandlerReifier
,ExpressionReifier
,LoadBalancerReifier
,ProcessorReifier
,RestBindingReifier
,TransformerReifier
,ValidatorReifier
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.camel.CamelContext
protected final org.apache.camel.Route
-
Constructor Summary
ConstructorDescriptionAbstractReifier
(org.apache.camel.CamelContext camelContext) AbstractReifier
(org.apache.camel.Route route) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
protected org.apache.camel.Expression
createExpression
(org.apache.camel.model.ExpressionSubElementDefinition expression) protected org.apache.camel.Expression
createExpression
(org.apache.camel.model.language.ExpressionDefinition expression) protected org.apache.camel.Predicate
createPredicate
(org.apache.camel.model.ExpressionSubElementDefinition expression) protected org.apache.camel.Predicate
createPredicate
(org.apache.camel.model.language.ExpressionDefinition expression) <T> Set
<T> findByType
(Class<T> type) findByTypeWithName
(Class<T> type) protected org.apache.camel.CamelContext
protected org.apache.camel.spi.BeanRepository
lookupByName
(String name) <T> T
lookupByNameAndType
(String name, Class<T> type) <T> T
mandatoryLookup
(String name, Class<T> type) protected Object
protected <T> T
protected <T> T
protected Boolean
parseBoolean
(String text) protected boolean
parseBoolean
(String text, boolean def) protected Long
parseDuration
(String text) protected long
parseDuration
(String text, long def) protected Float
parseFloat
(String text) protected float
parseFloat
(String text, float def) protected Integer
protected int
protected Long
protected long
protected String
parseString
(String text) org.apache.camel.Endpoint
resolveEndpoint
(String uri) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.BeanRepository
findSingleByType, mandatoryFindSingleByType
-
Field Details
-
route
protected final org.apache.camel.Route route -
camelContext
protected final org.apache.camel.CamelContext camelContext
-
-
Constructor Details
-
AbstractReifier
public AbstractReifier(org.apache.camel.Route route) -
AbstractReifier
public AbstractReifier(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
getCamelContext
protected org.apache.camel.CamelContext getCamelContext() -
parseString
-
parseBoolean
-
parseBoolean
-
parseLong
-
parseLong
-
parseDuration
-
parseDuration
-
parseInt
-
parseInt
-
parseFloat
-
parseFloat
-
parse
-
parse
-
createExpression
protected org.apache.camel.Expression createExpression(org.apache.camel.model.language.ExpressionDefinition expression) -
createExpression
protected org.apache.camel.Expression createExpression(org.apache.camel.model.ExpressionSubElementDefinition expression) -
createPredicate
protected org.apache.camel.Predicate createPredicate(org.apache.camel.model.language.ExpressionDefinition expression) -
createPredicate
protected org.apache.camel.Predicate createPredicate(org.apache.camel.model.ExpressionSubElementDefinition expression) -
or
-
asRef
-
getRegistry
protected org.apache.camel.spi.BeanRepository getRegistry() -
mandatoryLookup
-
lookupByName
- Specified by:
lookupByName
in interfaceorg.apache.camel.spi.BeanRepository
-
lookupByNameAndType
- Specified by:
lookupByNameAndType
in interfaceorg.apache.camel.spi.BeanRepository
-
findByTypeWithName
- Specified by:
findByTypeWithName
in interfaceorg.apache.camel.spi.BeanRepository
-
findByType
- Specified by:
findByType
in interfaceorg.apache.camel.spi.BeanRepository
-
unwrap
- Specified by:
unwrap
in interfaceorg.apache.camel.spi.BeanRepository
-
resolveEndpoint
public org.apache.camel.Endpoint resolveEndpoint(String uri) throws org.apache.camel.NoSuchEndpointException - Throws:
org.apache.camel.NoSuchEndpointException
-