org.guiceyfruit.support
Interface MethodHandler<I,A extends java.lang.annotation.Annotation>


public interface MethodHandler<I,A extends java.lang.annotation.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:
$Revision: 1.1 $

Method Summary
 void afterInjection(I injectee, A annotation, java.lang.reflect.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,
                    java.lang.reflect.Method method)
                    throws java.lang.reflect.InvocationTargetException,
                           java.lang.IllegalAccessException
Process the given method which is annotated with the annotation on the injectee after the injectee has been injected

Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException


Copyright © 2011. All Rights Reserved.