Package ru.vyarus.guice.ext.core.method
Interface MethodPostProcessor<T extends java.lang.annotation.Annotation>
-
- Type Parameters:
T- annotation type
- All Known Implementing Classes:
PostConstructAnnotationProcessor,PreDestroyAnnotationProcessor
public interface MethodPostProcessor<T extends java.lang.annotation.Annotation>Annotated method post processor.- Since:
- 30.06.2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(T annotation, java.lang.reflect.Method method, java.lang.Object instance)Called to post process annotated bean method.
-
-
-
Method Detail
-
process
void process(T annotation, java.lang.reflect.Method method, java.lang.Object instance) throws java.lang.Exception
Called to post process annotated bean method. It is safe to avoid explicit exception handling (except special cases required by processor logic).- Parameters:
annotation- annotation instancemethod- annotated methodinstance- bean instance- Throws:
java.lang.Exception- on any unrecoverable error- See Also:
AnnotatedMethodTypeListener
-
-