See the javadoc on a lot of interfaces in org.drools.event.knowledgebase. The expert manual has a section on the &quot;Event Model&quot; showing how to attach a listener to the knowledge session (not a package).<div>-W<br>
<div><div><br><br><div class="gmail_quote">2012/3/1 Jian Feng Ng <span dir="ltr">&lt;<a href="mailto:jng42@csc.com">jng42@csc.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">I wish to add a listener to a package, so that my application can do something else when there is any creation or deletion of rules in the package. May I know how can I do this?<br>
</font><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div></div></div>