You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/10 02:49:24 UTC

[GitHub] [shardingsphere] dachuan9e commented on a change in pull request #12308: Add plugin enabled check

dachuan9e commented on a change in pull request #12308:
URL: https://github.com/apache/shardingsphere/pull/12308#discussion_r705857771



##########
File path: shardingsphere-agent/shardingsphere-agent-api/src/main/java/org/apache/shardingsphere/agent/api/advice/ClassStaticMethodAroundAdvice.java
##########
@@ -26,6 +26,15 @@
  */
 public interface ClassStaticMethodAroundAdvice {
     
+    /**
+     * Check if skip the enable checking.
+     *
+     * @return skip or not
+     */
+    default boolean skipEnableCheck() {

Review comment:
       If the value is true the interceptor will ignore the check process and call the advice directly




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org