public class ConstantTypeBeanHolder extends Object implements BeanTypeHolder
BeanTypeHolder
Constructor and Description |
---|
ConstantTypeBeanHolder(Class<?> type,
BeanInfo beanInfo) |
ConstantTypeBeanHolder(Class<?> type,
CamelContext context) |
ConstantTypeBeanHolder(Class<?> type,
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. |
Class<?> |
getType() |
String |
toString() |
public ConstantTypeBeanHolder(Class<?> type, BeanInfo beanInfo)
public ConstantTypeBeanHolder(Class<?> type, CamelContext context)
public ConstantTypeBeanHolder(Class<?> type, 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.public Class<?> getType()
getType
in interface BeanTypeHolder
Apache Camel