public interface BeanHolder
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.
|
org.apache.camel.Processor |
getProcessor()
Gets a
Processor for this bean, if supported. |
boolean |
supportProcessor()
Whether a
Processor is supported by this bean holder. |
Object getBean() 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