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,
CamelContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
getBean()
Gets the bean.
|
createCacheHolder, getBeanInfo, getBeanInfo, getProcessor, getType, supportProcessor, toString
public ConstantStaticTypeBeanHolder(Class<?> type, CamelContext context)
public Object getBean()
BeanHolder
getBean
in interface BeanHolder
getBean
in class ConstantTypeBeanHolder
Apache Camel