Class CamelBeanPostProcessor

java.lang.Object
org.apache.camel.spring.spi.CamelBeanPostProcessor
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.spi.CamelBeanPostProcessor, org.apache.camel.spi.HasCamelContext, 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 specific DefaultCamelBeanPostProcessor which uses Spring BeanPostProcessor to post process beans.
See Also:
  • DefaultCamelBeanPostProcessor
  • Constructor Details

    • CamelBeanPostProcessor

      public CamelBeanPostProcessor()
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Specified by:
      postProcessBeforeInitialization in interface org.apache.camel.spi.CamelBeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Specified by:
      postProcessAfterInitialization in interface org.apache.camel.spi.CamelBeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.apache.camel.spi.HasCamelContext
    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.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:
      setEnabled in interface org.apache.camel.spi.CamelBeanPostProcessor
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.apache.camel.spi.CamelBeanPostProcessor