public class JSR94BackendRuntime extends Object implements org.wso2.carbon.rule.kernel.backend.RuleBackendRuntime
Constructor and Description |
---|
JSR94BackendRuntime(javax.rules.admin.RuleAdministrator ruleAdministrator,
javax.rules.RuleRuntime ruleRuntime,
javax.rules.admin.LocalRuleExecutionSetProvider localRuleExecutionSetProvider,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
addRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet)
Adds the rule set and returns the bind URI for the rule set.
|
org.wso2.carbon.rule.kernel.backend.Session |
createSession(int type) |
void |
destroy()
TODO
|
void |
removeRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet)
Removed the rule execution set runtime from the rule runtime based on the information
in the given rule set description
|
void |
setDefaultPropertiesProvider(org.wso2.carbon.rule.kernel.backend.DefaultPropertiesProvider defaultPropertiesProvider) |
public JSR94BackendRuntime(javax.rules.admin.RuleAdministrator ruleAdministrator, javax.rules.RuleRuntime ruleRuntime, javax.rules.admin.LocalRuleExecutionSetProvider localRuleExecutionSetProvider, ClassLoader classLoader)
public void addRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet) throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
addRuleSet
in interface org.wso2.carbon.rule.kernel.backend.RuleBackendRuntime
org.wso2.carbon.rule.common.exception.RuleConfigurationException
public org.wso2.carbon.rule.kernel.backend.Session createSession(int type) throws org.wso2.carbon.rule.common.exception.RuleRuntimeException
createSession
in interface org.wso2.carbon.rule.kernel.backend.RuleBackendRuntime
org.wso2.carbon.rule.common.exception.RuleRuntimeException
public void removeRuleSet(org.wso2.carbon.rule.common.RuleSet ruleSet) throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
ruleSet
- - remove the rules of this rule setorg.wso2.carbon.rule.common.exception.RuleConfigurationException
- - if there is a problem with the configurationpublic void destroy()
public void setDefaultPropertiesProvider(org.wso2.carbon.rule.kernel.backend.DefaultPropertiesProvider defaultPropertiesProvider)
Copyright © 2019 WSO2. All rights reserved.