@Metadata(label="spring,configuration") public class CamelBeanPostProcessor extends Object implements org.apache.camel.spi.CamelBeanPostProcessor, BeanPostProcessor, ApplicationContextAware
DefaultCamelBeanPostProcessor which uses Spring BeanPostProcessor to post process beans.DefaultCamelBeanPostProcessor| Constructor and Description |
|---|
CamelBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.CamelContext |
getCamelContext() |
String |
getCamelId() |
boolean |
isBindToRegistrySupported() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setBindToRegistrySupported(boolean bindToRegistrySupported) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setCamelId(String camelId) |
public CamelBeanPostProcessor()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization in interface org.apache.camel.spi.CamelBeanPostProcessorpostProcessBeforeInitialization in interface BeanPostProcessorBeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization in interface org.apache.camel.spi.CamelBeanPostProcessorpostProcessAfterInitialization in interface BeanPostProcessorBeansExceptionpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic org.apache.camel.CamelContext getCamelContext()
public void setCamelContext(org.apache.camel.CamelContext camelContext)
public String getCamelId()
public void setCamelId(String camelId)
public boolean isBindToRegistrySupported()
public void setBindToRegistrySupported(boolean bindToRegistrySupported)
Apache Camel