package dk.thoerup.circuitbreaker.invocations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) // the compiler should not strip this annotation since it's used runtime @Target(ElementType.METHOD) //this annotation should only be applied to methods public @interface CircuitBreakerMethod { }