There is an implementation of the interface
KnowledgeSessionMonitoringMBean,see
./drools-core/src/main/java/org/drools/management/KnowledgeSessionMonitoring.java.
Looking at this implementation will show you that the information
about firing rules, fact operations is collected by the object acting
as a listener.
What's wrong with listeners?
-W
On 21 January 2011 07:55, asutosh_pandya <asutosh.pandya(a)cognizant.com> wrote:
Hello all,
I need to grab all the information/statistics after firing all the rules. It
is observed that the same can be achieved by different event listeners in
drools. But I don't want to use listeners, instead I need all the
information after firing all the rules. Going through the Drools API, I came
across an interface DroolsManagementAgentMBean which can provide the above
information. I tried to google out the way we need to implement this
interface but in vain.
can any one please let me know how can I achieve the above without using
listeners and at the same time how can I use DroolsManagementAgentMBean?
Thanks in advance,
Asutosh
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Use-of-DroolsManageme...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users