public class RuleServiceProviderImpl extends javax.rules.RuleServiceProvider implements Serializable
RuleRuntime
and
RuleAdministrator
implementation supplied by Drools when
running under J2SE. This class should be used in environments without a
JNDI provider - typically when writing standalone J2SE clients. Within the
J2EE environment the RuleServiceProvider
implementation class
provided by Drools should be retrieved using a JNDI lookup. This class
should be constructed using the
RuleServiceProviderManager.getRuleServiceProvider
method.
This class is automatically registered to "http://drools.org/" on startup,
via the static block.RuleRuntimeImpl
,
RuleAdministratorImpl
,
RuleServiceProvider
,
RuleServiceProviderManager.getRuleServiceProvider(String)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
RULE_SERVICE_PROVIDER |
Constructor and Description |
---|
RuleServiceProviderImpl()
Create a new
RuleServiceProviderImpl . |
Modifier and Type | Method and Description |
---|---|
protected RuleExecutionSetRepository |
createRuleExecutionSetRepository()
Creates the RuleExecutionSetRepository.
|
RuleExecutionSetRepository |
getRepository()
Returns the RuleExecutionSetRepository
|
javax.rules.admin.RuleAdministrator |
getRuleAdministrator()
Returns a class instance of
RuleAdministrator . |
javax.rules.RuleRuntime |
getRuleRuntime()
Returns a class instance of
RuleRuntime . |
public static final String RULE_SERVICE_PROVIDER
public RuleServiceProviderImpl()
RuleServiceProviderImpl
.public RuleExecutionSetRepository getRepository()
public javax.rules.RuleRuntime getRuleRuntime()
RuleRuntime
. Specifically an
instance of the Drools RuleRuntimeImpl
is returned.getRuleRuntime
in class javax.rules.RuleServiceProvider
RuleRuntime
public javax.rules.admin.RuleAdministrator getRuleAdministrator()
RuleAdministrator
.
Specifically an instance of the Drools RuleAdministratorImpl
is returned.getRuleAdministrator
in class javax.rules.RuleServiceProvider
RuleAdministrator
protected RuleExecutionSetRepository createRuleExecutionSetRepository()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.