org.apache.camel.component.bean
Class RegistryBean
java.lang.Object
org.apache.camel.component.bean.RegistryBean
- All Implemented Interfaces:
- BeanHolder
public class RegistryBean
- extends Object
- implements BeanHolder
An implementation of a BeanHolder
which will look up a bean from the registry and act as a cache of its metadata
- Version:
- $Revision: 755890 $
RegistryBean
public RegistryBean(CamelContext context,
String name)
RegistryBean
public RegistryBean(CamelContext context,
String name,
ParameterMappingStrategy parameterMappingStrategy)
toString
public String toString()
- Overrides:
toString
in class Object
createCacheHolder
public ConstantBeanHolder createCacheHolder()
throws Exception
- Throws:
Exception
getBean
public Object getBean()
throws NoSuchBeanException
- Specified by:
getBean
in interface BeanHolder
- Throws:
NoSuchBeanException
getProcessor
public Processor getProcessor()
- Specified by:
getProcessor
in interface BeanHolder
getBeanInfo
public BeanInfo getBeanInfo()
- Specified by:
getBeanInfo
in interface BeanHolder
getName
public String getName()
getRegistry
public Registry getRegistry()
getContext
public CamelContext getContext()
getParameterMappingStrategy
public ParameterMappingStrategy getParameterMappingStrategy()
setParameterMappingStrategy
public void setParameterMappingStrategy(ParameterMappingStrategy parameterMappingStrategy)
createBeanInfo
protected BeanInfo createBeanInfo()
createParameterMappingStrategy
protected ParameterMappingStrategy createParameterMappingStrategy()
lookupBean
protected Object lookupBean()
Apache CAMEL