org.dentaku.services.rules
Class DroolsJSR94RuleProcessor
java.lang.Object
org.dentaku.services.rules.DroolsJSR94RuleProcessor
- All Implemented Interfaces:
- org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, JSR94RuleProcessor
- public class DroolsJSR94RuleProcessor
- extends java.lang.Object
- implements JSR94RuleProcessor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Implementation of a JSR-94 Rules processor with Drools
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULE_SERVICE_PROVIDER
public static final java.lang.String RULE_SERVICE_PROVIDER
- Drools
RuleServiceProvider URI.
- See Also:
- Constant Field Values
ruleServiceProvider
protected javax.rules.RuleServiceProvider ruleServiceProvider
DroolsJSR94RuleProcessor
public DroolsJSR94RuleProcessor()
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Throws:
java.lang.Exception
getStatefulRuleSession
public javax.rules.StatefulRuleSession getStatefulRuleSession()
throws java.lang.Exception
- Specified by:
getStatefulRuleSession in interface JSR94RuleProcessor
- Throws:
java.lang.Exception
getStatelessRuleSession
public javax.rules.StatelessRuleSession getStatelessRuleSession()
throws java.lang.Exception
- Specified by:
getStatelessRuleSession in interface JSR94RuleProcessor
- Throws:
java.lang.Exception
releaseRuleSession
public void releaseRuleSession(javax.rules.RuleSession session)
throws java.lang.Exception
- Specified by:
releaseRuleSession in interface JSR94RuleProcessor
- Throws:
java.lang.Exception
getResource
protected java.net.URL getResource(java.lang.String res)
- Get the requested resource from the ClassLoader.
- See Also:
ClassLoader.getResource(java.lang.String)
getResourceAsStream
protected java.io.InputStream getResourceAsStream(java.lang.String res)
- Get the requested resource from the ClassLoader.
- See Also:
ClassLoader.getResourceAsStream(java.lang.String)
Copyright © -2004 . All Rights Reserved.