You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/08/08 07:34:45 UTC

[GitHub] peng-yongsheng commented on a change in pull request #1531: Feature/oap/annotation

peng-yongsheng commented on a change in pull request #1531: Feature/oap/annotation
URL: https://github.com/apache/incubator-skywalking/pull/1531#discussion_r208482346
 
 

 ##########
 File path: oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/annotation/AnnotationListener.java
 ##########
 @@ -16,14 +16,16 @@
  *
  */
 
-package org.apache.skywalking.oap.server.core.analysis.indicator.define;
+package org.apache.skywalking.oap.server.core.annotation;
+
+import java.lang.annotation.Annotation;
 
 /**
  * @author peng-yongsheng
  */
-public class IndicatorDefineLoadException extends Exception {
+public interface AnnotationListener {
+
+    Class<? extends Annotation> annotation();
 
-    public IndicatorDefineLoadException(String message, Throwable cause) {
-        super(message, cause);
-    }
+    void ownerClass(Class aClass);
 
 Review comment:
   notify is a key word.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services