Package org.apache.camel.spring.spi
Class CamelBeanPostProcessor
- java.lang.Object
-
- org.apache.camel.spring.spi.CamelBeanPostProcessor
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,org.apache.camel.spi.CamelBeanPostProcessor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.core.Ordered
public class CamelBeanPostProcessor extends Object implements org.apache.camel.spi.CamelBeanPostProcessor, org.apache.camel.CamelContextAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered
Spring specificDefaultCamelBeanPostProcessorwhich uses SpringBeanPostProcessorto post process beans.- See Also:
DefaultCamelBeanPostProcessor
-
-
Constructor Summary
Constructors Constructor Description CamelBeanPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.CamelContextgetCamelContext()StringgetCamelId()intgetOrder()booleanisBindToRegistrySupported()booleanisEnabled()ObjectpostProcessAfterInitialization(Object bean, String beanName)ObjectpostProcessBeforeInitialization(Object bean, String beanName)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetBindToRegistrySupported(boolean bindToRegistrySupported)voidsetCamelContext(org.apache.camel.CamelContext camelContext)voidsetCamelId(String camelId)voidsetEnabled(boolean enabled)
-
-
-
Method Detail
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Specified by:
postProcessBeforeInitializationin interfaceorg.apache.camel.spi.CamelBeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Specified by:
postProcessAfterInitializationin interfaceorg.apache.camel.spi.CamelBeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContextin interfaceorg.apache.camel.CamelContextAware
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
getCamelId
public String getCamelId()
-
setCamelId
public void setCamelId(String camelId)
-
isBindToRegistrySupported
public boolean isBindToRegistrySupported()
-
setBindToRegistrySupported
public void setBindToRegistrySupported(boolean bindToRegistrySupported)
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.apache.camel.spi.CamelBeanPostProcessor
-
-