You can do it with singleton pattern. File should be read with something like:
ResourceFactory.newClassPathResource("/MyChangeSet.xml")

RuleAgent monitor all resources which are described in change-set.
Changes of change-set file aren't reflected.

Pavel


On Fri, Jul 23, 2010 at 3:09 AM, H.C. <canterbu...@gmail.com> wrote:
>
> Hi,
>
> I am wondering how I would use a RuleAgent when running in a JEE container?
> I am looking to monitor rule changes outside of the war/ear. Is that even
> possible and how would I do it? Would I map a JNDI name for the change-set
> file? Would changes to the rule files the change-set file references be
> visible or would only changes to the change-set file itself be picked up?
>
> Thanks for any answers.
> --
> View this message in context: 
> http://drools-java-rules-engine.46999.n3.nabble.com/RuleAgents-and-containers-tp988664p988664.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to