public interface BeanHolder
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean(org.apache.camel.Exchange exchange)
Gets the bean.
|
BeanInfo |
getBeanInfo()
Gets bean info for the bean.
|
BeanInfo |
getBeanInfo(Object bean)
Gets bean info for the given bean.
|
Map<String,Object> |
getOptions()
Additional options that should be configured on the bean
|
org.apache.camel.Processor |
getProcessor()
Gets a
Processor for this bean, if supported. |
void |
setOptions(Map<String,Object> options)
Sets additional options that should be configured on the bean
|
boolean |
supportProcessor()
Whether a
Processor is supported by this bean holder. |
void setOptions(Map<String,Object> options)
Object getBean(org.apache.camel.Exchange exchange) throws org.apache.camel.NoSuchBeanException
org.apache.camel.NoSuchBeanException - is thrown if the bean cannot be found.org.apache.camel.Processor getProcessor()
Processor for this bean, if supported.Processor, or null if not supported.boolean supportProcessor()
Processor is supported by this bean holder.BeanInfo getBeanInfo()
BeanInfo getBeanInfo(Object bean)
BeanHolder implementations such as the
RegistryBean.bean - the beangetBeanInfo() instead.Apache Camel