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.
|
Processor |
getProcessor()
Gets a
Processor for this bean, if supported. |
boolean |
supportProcessor()
Whether a
Processor is supported by this bean holder. |
Object getBean() throws NoSuchBeanException
NoSuchBeanException
- is thrown if the bean cannot be found.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