public class ConstantBeanHolder extends Object implements BeanHolder
BeanHolder
Constructor and Description |
---|
ConstantBeanHolder(Object bean,
BeanInfo beanInfo) |
ConstantBeanHolder(Object bean,
CamelContext context) |
ConstantBeanHolder(Object bean,
CamelContext context,
ParameterMappingStrategy parameterMappingStrategy) |
Modifier and Type | Method and Description |
---|---|
Object |
getBean()
Gets the bean.
|
BeanInfo |
getBeanInfo()
Gets bean info for the bean.
|
BeanInfo |
getBeanInfo(Object bean)
Gets bean info for the given bean.
|
Processor |
getProcessor()
Gets a
Processor for this bean, if supported. |
String |
toString() |
public ConstantBeanHolder(Object bean, BeanInfo beanInfo)
public ConstantBeanHolder(Object bean, CamelContext context)
public ConstantBeanHolder(Object bean, CamelContext context, ParameterMappingStrategy parameterMappingStrategy)
public Object getBean()
BeanHolder
getBean
in interface BeanHolder
public Processor getProcessor()
BeanHolder
Processor
for this bean, if supported.getProcessor
in interface BeanHolder
Processor
, or null if not supported.public BeanInfo getBeanInfo()
BeanHolder
getBeanInfo
in interface BeanHolder
public BeanInfo getBeanInfo(Object bean)
BeanHolder
BeanHolder
implementations
such as the RegistryBean
.getBeanInfo
in interface BeanHolder
bean
- the beanBeanHolder.getBeanInfo()
instead.Apache Camel