[jboss-jira] [JBoss JIRA] Updated: (JBRULES-446) Support rulebase configuration via jsr94 registerRuleExecutionSet properties

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Jul 4 22:52:51 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-446?page=all ]

Mark Proctor updated JBRULES-446:
---------------------------------

    Fix Version/s:  4.0.0.MR4
                       (was: FUTURE)

> Support rulebase configuration via jsr94 registerRuleExecutionSet properties
> ----------------------------------------------------------------------------
>
>                 Key: JBRULES-446
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-446
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JSR94
>    Affects Versions: 3.0.4
>            Reporter: Juergen none
>         Assigned To: Fernando Meyer
>            Priority: Minor
>             Fix For:  4.0.0.MR4
>
>
> Is it possible to support rulebase configuration via jsr94 registerRuleExecutionSet properties?
> Suggestion:
> - new property in
> org.drools.jsr94.rules.Constants.java:41:
>     //jh: added to support handing a rulebase config via jsr94
>     /** <code>RuleExecutionSet</code> rulebase config constant. */
>     public static final String RES_CONFIG = "javax.rules.admin.RuleExecutionSet.config";
> - modification of method (probably catch ClassCastException too, throw some jsr94 config exception)
> org.drools.jsr94.rules.admin.RuleExecutionSetImpl.java:118:RuleExecutionSetImpl(...):
>         //jh: support rulebase configuration via jsr94
>         final org.drools.reteoo.ReteooRuleBase ruleBase = new org.drools.reteoo.ReteooRuleBase((org.drools.RuleBaseConfiguration)properties.get(org.drools.jsr94.rules.Constants.RES_CONFIG), new Jsr94FactHandleFactory() );
> 	/*
>         final org.drools.reteoo.ReteooRuleBase ruleBase = new org.drools.reteoo.ReteooRuleBase( new Jsr94FactHandleFactory() );
> 	*/

-- 
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

        



More information about the jboss-jira mailing list