org.apache.camel.component.bean
Class ConstantBeanHolder

java.lang.Object
  extended by org.apache.camel.component.bean.ConstantBeanHolder
All Implemented Interfaces:
BeanHolder

public class ConstantBeanHolder
extends Object
implements BeanHolder

A constant (singleton) bean implementation of BeanHolder

Version:

Constructor Summary
ConstantBeanHolder(Object bean, BeanInfo beanInfo)
           
ConstantBeanHolder(Object bean, CamelContext context)
           
ConstantBeanHolder(Object bean, CamelContext context, ParameterMappingStrategy parameterMappingStrategy)
           
 
Method Summary
 Object getBean()
           
 BeanInfo getBeanInfo()
           
 Processor getProcessor()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantBeanHolder

public ConstantBeanHolder(Object bean,
                          BeanInfo beanInfo)

ConstantBeanHolder

public ConstantBeanHolder(Object bean,
                          CamelContext context)

ConstantBeanHolder

public ConstantBeanHolder(Object bean,
                          CamelContext context,
                          ParameterMappingStrategy parameterMappingStrategy)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getBean

public Object getBean()
Specified by:
getBean in interface BeanHolder

getProcessor

public Processor getProcessor()
Specified by:
getProcessor in interface BeanHolder

getBeanInfo

public BeanInfo getBeanInfo()
Specified by:
getBeanInfo in interface BeanHolder


Apache CAMEL