diff options
author | Diego <diegolparra@gmail.com> | 2015-04-26 14:32:08 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-04-26 14:32:08 -0300 |
commit | 4ea578a94c2a9b2f1e89940b7655c332b1b846dc (patch) | |
tree | f43ca5366cd3f45b8fa914ed2032ed607c7e8401 /kamon-annotation/src | |
parent | 7f1d880aa0672608503874d7edca0426c761afe1 (diff) | |
download | Kamon-4ea578a94c2a9b2f1e89940b7655c332b1b846dc.tar.gz Kamon-4ea578a94c2a9b2f1e89940b7655c332b1b846dc.tar.bz2 Kamon-4ea578a94c2a9b2f1e89940b7655c332b1b846dc.zip |
= annotation: introduce @Inherited in EnableKamon
Diffstat (limited to 'kamon-annotation/src')
-rw-r--r-- | kamon-annotation/src/main/java/kamon/annotation/EnableKamon.java | 9 |
1 files changed, 8 insertions, 1 deletions
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. +* <p/> +* 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 {} |