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
public class ConstantStaticTypeBeanHolder extends ConstantTypeBeanHolder
A constantBeanHolder
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
Constructors Constructor Description ConstantStaticTypeBeanHolder(Class<?> type, org.apache.camel.CamelContext context, ParameterMappingStrategy parameterMappingStrategy, BeanComponent beanComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getBean(org.apache.camel.Exchange exchange)
Gets the bean.-
Methods inherited from class org.apache.camel.component.bean.ConstantTypeBeanHolder
createCacheHolder, getBeanInfo, getBeanInfo, getOptions, getProcessor, getType, setErrorHandler, setOptions, supportProcessor, toString
-
-
-
-
Constructor Detail
-
ConstantStaticTypeBeanHolder
public ConstantStaticTypeBeanHolder(Class<?> type, org.apache.camel.CamelContext context, ParameterMappingStrategy parameterMappingStrategy, BeanComponent beanComponent)
-
-
Method Detail
-
getBean
public Object getBean(org.apache.camel.Exchange exchange)
Description copied from interface:BeanHolder
Gets the bean.- Specified by:
getBean
in interfaceBeanHolder
- Overrides:
getBean
in classConstantTypeBeanHolder
-
-