|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.bean.ConstantTypeBeanHolder
public class ConstantTypeBeanHolder
A constant (singleton) bean implementation of BeanTypeHolder
| Constructor Summary | |
|---|---|
ConstantTypeBeanHolder(Class<?> type,
BeanInfo beanInfo)
|
|
ConstantTypeBeanHolder(Class<?> type,
CamelContext context)
|
|
ConstantTypeBeanHolder(Class<?> type,
CamelContext context,
ParameterMappingStrategy parameterMappingStrategy)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantTypeBeanHolder(Class<?> type,
BeanInfo beanInfo)
public ConstantTypeBeanHolder(Class<?> type,
CamelContext context)
public ConstantTypeBeanHolder(Class<?> type,
CamelContext context,
ParameterMappingStrategy parameterMappingStrategy)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic Object getBean()
BeanHolder
getBean in interface BeanHolderpublic Processor getProcessor()
BeanHolderProcessor for this bean, if supported.
getProcessor in interface BeanHolderProcessor, or null if not supported.public BeanInfo getBeanInfo()
BeanHolder
getBeanInfo in interface BeanHolderpublic BeanInfo getBeanInfo(Object bean)
BeanHolderBeanHolder implementations
such as the RegistryBean.
getBeanInfo in interface BeanHolderbean - the bean
BeanHolder.getBeanInfo() instead.public Class<?> getType()
getType in interface BeanTypeHolder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||