Parent Directory | Revision Log
Add code for annotated Invocation
1 | package dk.thoerup.circuitbreaker.invocations; |
2 | |
3 | import java.lang.annotation.ElementType; |
4 | import java.lang.annotation.Retention; |
5 | import java.lang.annotation.RetentionPolicy; |
6 | import java.lang.annotation.Target; |
7 | |
8 | @Retention(RetentionPolicy.RUNTIME) // the compiler should not strip this annotation since it's used runtime |
9 | @Target(ElementType.METHOD) //this annotation should only be applied to methods |
10 | public @interface CircuitBreakerMethod { |
11 | |
12 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |