Created
May 25, 2020 17:46
-
-
Save qzagarese/e900126628b4eb7f6196ac338535e354 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyAnnotationHandler implements AnnotationHandler<MyAnnotation> { | |
@Override | |
public void handle(ScanContext scanContext, FrameworkAnnotationContext<MyAnnotation> annotationContext) { | |
System.out.println("Foo is " + annotationContext.getAnnotation().foo()); | |
System.out.println("Bar is " + annotationContext.getAnnotation().bar()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment