[ http://jira.codehaus.org/browse/DROOLS-476?page=comments#action_56455 ]
Ray Krueger commented on DROOLS-476: ------------------------------------ If this enhancement goes in it should use an array of Spring Resources http://www.springframework.org/docs/api/org/springframework/core/io/Resource.html That way the DRL files can be loaded from anywhere the spring Resource framework supports. URLS, Files, Classpath... > makes, via, injection, rule sets loadable from classpath and URL's > ------------------------------------------------------------------- > > Key: DROOLS-476 > URL: http://jira.codehaus.org/browse/DROOLS-476 > Project: drools > Type: Improvement > Components: spring > Versions: 2.1 > Reporter: Armin Ehrenfels > Assignee: bob mcwhirter > Attachments: RuleBaseFactoryBean.java > > > modified org.drools.spring.factory.RuleBaseFactoryBean; > to be used in bean definitions like so: > <bean id="drlRuleBase" > class="org.drools.spring.factory.RuleBaseFactoryBean"> > <property name="drlFiles"> > <list> > <value>r1.drl</value> > <value>r2.drl</value> > </list> > </property> > </bean> > <bean id="urlRuleBase" > class="org.drools.spring.factory.RuleBaseFactoryBean"> > <property name="urls"> > <list> > <value>http://server/local/r1</value> > <value>http://neverland/local/r2</value> > </list> > </property> > </bean> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
