Package org.apache.camel.spi
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 Summary
Modifier and TypeMethodDescriptionvoid
onFieldInject
(Field field, Object bean, String beanName) Field injectionvoid
onMethodInject
(Method method, Object bean, String beanName) Method injection
-
Method Details
-
onFieldInject
Field injection- Parameters:
field
- the fieldbean
- the bean instance where the field is presentbeanName
- optional bean id of the bean
-
onMethodInject
Method injection- Parameters:
method
- the methodbean
- the bean instance where the method is presentbeanName
- optional bean id of the bean
-