Package ru.vyarus.guice.ext.core.field
Interface FieldPostProcessor<T extends java.lang.annotation.Annotation>
-
- Type Parameters:
T- annotation type
- All Known Implementing Classes:
Slf4jLogAnnotationProcessor
public interface FieldPostProcessor<T extends java.lang.annotation.Annotation>Annotated filed 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.Field field, java.lang.Object instance)Called to post process annotated bean filed.
-
-
-
Method Detail
-
process
void process(T annotation, java.lang.reflect.Field field, java.lang.Object instance) throws java.lang.Exception
Called to post process annotated bean filed. It is safe to avoid explicit exception handling (except special cases required by processor logic).- Parameters:
annotation- annotation instancefield- annotated fieldinstance- bean instance- Throws:
java.lang.Exception- on any unrecoverable error- See Also:
AnnotatedFieldTypeListener
-
-