org.apache.camel.guice.support
Interface MethodHandler<I,A extends Annotation>

All Known Implementing Classes:
ConsumerInjection

public interface MethodHandler<I,A extends Annotation>

Allows a method with a given annotation A on an injectee of type I to be processed in some way on each injectee using a custom strategy.

Version:

Method Summary
 void afterInjection(I injectee, A annotation, Method method)
          Process the given method which is annotated with the annotation on the injectee after the injectee has been injected
 

Method Detail

afterInjection

void afterInjection(I injectee,
                    A annotation,
                    Method method)
                    throws InvocationTargetException,
                           IllegalAccessException
Process the given method which is annotated with the annotation on the injectee after the injectee has been injected

Throws:
InvocationTargetException
IllegalAccessException


Apache Camel