Tutorial by Examples

Intercepted method: public class ExampleService implements Example { @MyAnnotation public doHomework() { System.out.println("working"); } } Annotation: @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface MyAnnotation {} ...

Page 1 of 1