suggested change [1]. POLICY_ADDED is currently defined in
org.wso2.carbon.CarbonConstants but from the dependencies level it's not
possible to refer it.

[1],
axis2$ svn diff
Index: modules/kernel/src/org/apache/axis2/engine/AxisEvent.java
===================================================================
--- modules/kernel/src/org/apache/axis2/engine/AxisEvent.java    (revision
91077)
+++ modules/kernel/src/org/apache/axis2/engine/AxisEvent.java    (working
copy)
@@ -36,6 +36,7 @@
     public static final int MODULE_REMOVE = 5;
     public static final int MODULE_ENGAGED = 6;
     public static final int MODULE_DISENGAGED = 7;
+    public static final int POLICY_ADDED = 8;

     /**

p.s. I'm working on throttling and caching modules to be aware of runtime
policy changes from the policy-editor component. So I need to check the
received axisServiceUpdate event for POLICY_ADDED scenario.

thanks,
-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com <sup...@wso2.com>
mobile - 071 56 91 321
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to