@Metadata(label="spring,configuration") public class CamelBeanPostProcessor extends Object implements org.apache.camel.spi.CamelBeanPostProcessor, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered
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() |
int |
getOrder() |
boolean |
isBindToRegistrySupported() |
boolean |
isEnabled() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBindToRegistrySupported(boolean bindToRegistrySupported) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setCamelId(String camelId) |
void |
setEnabled(boolean enabled) |
public CamelBeanPostProcessor()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.apache.camel.spi.CamelBeanPostProcessor
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.apache.camel.spi.CamelBeanPostProcessor
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public 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)
public void setEnabled(boolean enabled)
setEnabled
in interface org.apache.camel.spi.CamelBeanPostProcessor
public boolean isEnabled()
isEnabled
in interface org.apache.camel.spi.CamelBeanPostProcessor
Apache Camel