public class Slf4jLogAnnotationProcessor extends java.lang.Object implements FieldPostProcessor<Log>
org.slf4j.Logger instance into fields annotated with @Log annotation.| Constructor and Description |
|---|
Slf4jLogAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Log annotation,
java.lang.reflect.Field field,
java.lang.Object instance)
Called to post process annotated bean filed.
|
public void process(Log annotation, java.lang.reflect.Field field, java.lang.Object instance) throws java.lang.Exception
FieldPostProcessorprocess in interface FieldPostProcessor<Log>annotation - annotation instancefield - annotated fieldinstance - bean instancejava.lang.Exception - on any unrecoverable errorAnnotatedFieldTypeListener