Interface CamelBeanPostProcessorInjector


  • public interface CamelBeanPostProcessorInjector
    Used for custom injection when doing CamelBeanPostProcessor bean post-processing. Can be used to support 3rd-party annotations for dependency injections.
    • Method Detail

      • onFieldInject

        void onFieldInject​(Field field,
                           Object bean,
                           String beanName)
        Field injection
        Parameters:
        field - the field
        bean - the bean instance where the field is present
        beanName - optional bean id of the bean
      • onMethodInject

        void onMethodInject​(Method method,
                            Object bean,
                            String beanName)
        Method injection
        Parameters:
        method - the method
        bean - the bean instance where the method is present
        beanName - optional bean id of the bean