From 4ea578a94c2a9b2f1e89940b7655c332b1b846dc Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 26 Apr 2015 14:32:08 -0300 Subject: = annotation: introduce @Inherited in EnableKamon --- kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java b/kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java index 97ed9375..49169410 100644 --- a/kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java +++ b/kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java @@ -19,9 +19,16 @@ package kamon.annotation; import java.lang.annotation.*; /** - * A marker annotation for enable the Kamon instrumentation. +* A marker annotation for enable the Kamon instrumentation. +*

+* The AspectJ Weaver will scan all the declared methods of the annotated class that are annotated with +* some Kamon annotations, then create and register the corresponding instruments instances and finally weave +* its aspects around these methods, so that at runtime, these instruments instances get called according +* to the Kamon annotations specification. */ + @Documented +@Inherited @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interface EnableKamon {} -- cgit v1.2.3