Package org.apache.camel.spring.xml
Class CamelBeanPostProcessor
- java.lang.Object
-
- org.apache.camel.spring.xml.CamelBeanPostProcessor
-
- All Implemented Interfaces:
org.apache.camel.spi.CamelBeanPostProcessor,Aware,BeanPostProcessor,ApplicationContextAware,Ordered
@Metadata(label="spring,configuration") public class CamelBeanPostProcessor extends Object implements org.apache.camel.spi.CamelBeanPostProcessor, BeanPostProcessor, ApplicationContextAware, Ordered
Spring specificDefaultCamelBeanPostProcessorwhich uses SpringBeanPostProcessorto post process beans.- See Also:
DefaultCamelBeanPostProcessor
-
-
Field Summary
-
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
-
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(ApplicationContext applicationContext)voidsetBindToRegistrySupported(boolean bindToRegistrySupported)voidsetCamelContext(org.apache.camel.CamelContext camelContext)voidsetCamelId(String camelId)voidsetEnabled(boolean enabled)
-
-
-
Constructor Detail
-
CamelBeanPostProcessor
public CamelBeanPostProcessor()
-
-
Method Detail
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
- Specified by:
postProcessBeforeInitializationin interfaceBeanPostProcessor- Specified by:
postProcessBeforeInitializationin interfaceorg.apache.camel.spi.CamelBeanPostProcessor- Throws:
BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
- Specified by:
postProcessAfterInitializationin interfaceBeanPostProcessor- Specified by:
postProcessAfterInitializationin interfaceorg.apache.camel.spi.CamelBeanPostProcessor- Throws:
BeansException
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
-
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
-
-