Allow RuleAgent to take a RuleBaseConfiguration to configure the RuleBase it creates
------------------------------------------------------------------------------------
Key: JBRULES-1067
URL:
http://jira.jboss.com/jira/browse/JBRULES-1067
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-brms
Affects Versions: 4.0.0.GA
Environment: Windows XP, Sun JRE 1.5_09
Reporter: Shahad Ahmed
Assigned To: Mark Proctor
Extend the API to allow a RuleAgent to use a RuleBaseConfiguration object to configure
the RuleBase it creates. For example, this will allow a user to specfiy options like
Sequental mode etc when creating a RuleBase using a RuleAgent.
I know that you can set RuleBase options for all RuleBases by setting the appropriate
System properties when calling the java VM, but it would be nice to be able to set these
individually via the API for each RuleBase created using a RuleAgent. I guess this could
be done fairly easily by adding an extra constructor(s) to RuleAgent that takes a
RuleBaseConfiguration object -- rbConfig, say -- and in RuleAgent when it creates a new
RuleBase instead of just using RulebaseFactory.newRuleBase() use
RulebaseFactory.newRuleBase(rbConfig) instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira