public class ConstantStaticTypeBeanHolder extends ConstantTypeBeanHolder
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 and Description |
|---|
ConstantStaticTypeBeanHolder(Class<?> type,
org.apache.camel.CamelContext context,
ParameterMappingStrategy parameterMappingStrategy,
BeanComponent beanComponent) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean(org.apache.camel.Exchange exchange)
Gets the bean.
|
createCacheHolder, getBeanInfo, getBeanInfo, getOptions, getProcessor, getType, setOptions, supportProcessor, toStringpublic ConstantStaticTypeBeanHolder(Class<?> type, org.apache.camel.CamelContext context, ParameterMappingStrategy parameterMappingStrategy, BeanComponent beanComponent)
public Object getBean(org.apache.camel.Exchange exchange)
BeanHoldergetBean in interface BeanHoldergetBean in class ConstantTypeBeanHolderApache Camel