Show Table of Contents
17.5. Using a Rule Service Provider
Procedure 17.1. Task
- Use the following code to load the JBoss Rules rule service provider:
Class ruleServiceProviderClass = Class.forName("org.drools.jsr94.rules.RuleServiceProviderImpl"); - Use the following code to register it:
RuleServiceProviderManager.registerRuleServiceProvider( "http://jboss.com/products/rules", ruleServiceProviderClass); - Call to the RuleServiceProvider using the following code:
RuleServiceProviderManager.getRuleServiceProvider("http://jboss.com/products/rules"); - To stop the rule service, deregister it with this code:
RuleServiceProviderManager.deregisterRuleServiceProvider( "http://jboss.com/products/rules");

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.