Package org.apache.camel.component.bean
Class ConstantStaticTypeBeanHolder
java.lang.Object
org.apache.camel.component.bean.ConstantTypeBeanHolder
org.apache.camel.component.bean.ConstantStaticTypeBeanHolder
- All Implemented Interfaces:
BeanHolder
,BeanTypeHolder
A constant
BeanHolder
for a class or static class where the intention is to
only invoke static methods, without the need for creating an instance of the type.-
Constructor Summary
ConstructorDescriptionConstantStaticTypeBeanHolder
(Class<?> type, org.apache.camel.CamelContext context, ParameterMappingStrategy parameterMappingStrategy, BeanComponent beanComponent) -
Method Summary
Methods inherited from class org.apache.camel.component.bean.ConstantTypeBeanHolder
createCacheHolder, getBeanInfo, getBeanInfo, getOptions, getProcessor, getType, setErrorHandler, setOptions, supportProcessor, toString
-
Constructor Details
-
ConstantStaticTypeBeanHolder
public ConstantStaticTypeBeanHolder(Class<?> type, org.apache.camel.CamelContext context, ParameterMappingStrategy parameterMappingStrategy, BeanComponent beanComponent)
-
-
Method Details
-
getBean
Description copied from interface:BeanHolder
Gets the bean.- Specified by:
getBean
in interfaceBeanHolder
- Overrides:
getBean
in classConstantTypeBeanHolder
-