diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-27 11:59:33 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-27 11:59:33 +0200 |
commit | c6ba11c2238b85746ac525505b5dbc7e517eb9f9 (patch) | |
tree | 009581ede5b5122e659a038bf30ca2fa2f323322 | |
parent | a235694717365c6bd18f4c2183a5280d454aa428 (diff) | |
parent | 4ea578a94c2a9b2f1e89940b7655c332b1b846dc (diff) | |
download | Kamon-c6ba11c2238b85746ac525505b5dbc7e517eb9f9.tar.gz Kamon-c6ba11c2238b85746ac525505b5dbc7e517eb9f9.tar.bz2 Kamon-c6ba11c2238b85746ac525505b5dbc7e517eb9f9.zip |
Merge branch 'master' of github.com:kamon-io/Kamon
-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 {} |