当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
RuleServiceProviderImpl (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.jsr94.rules
Class RuleServiceProviderImpl
java.lang.Object
javax.rules.RuleServiceProvider
org.drools.jsr94.rules.RuleServiceProviderImpl
- All Implemented Interfaces:
- Serializable
public class RuleServiceProviderImpl
- extends javax.rules.RuleServiceProvider
- implements Serializable
This class provides access to the 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.
- Author:
- thomas diesler
- See Also:
RuleRuntimeImpl
,
RuleAdministratorImpl
,
RuleServiceProvider
,
RuleServiceProviderManager.getRuleServiceProvider(String)
,
Serialized Form
Methods inherited from class javax.rules.RuleServiceProvider |
createInstance, setClassLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULE_SERVICE_PROVIDER
public static final String RULE_SERVICE_PROVIDER
- See Also:
- Constant Field Values
RuleServiceProviderImpl
public RuleServiceProviderImpl()
- Create a new
RuleServiceProviderImpl
.
getRepository
public RuleExecutionSetRepository getRepository()
- Returns the RuleExecutionSetRepository
- Returns:
getRuleRuntime
public javax.rules.RuleRuntime getRuleRuntime()
- Returns a class instance of
RuleRuntime
. Specifically an
instance of the Drools RuleRuntimeImpl
is returned.
- Specified by:
getRuleRuntime
in class javax.rules.RuleServiceProvider
- Returns:
- an instance of
RuleRuntime
getRuleAdministrator
public javax.rules.admin.RuleAdministrator getRuleAdministrator()
- Returns a class instance of
RuleAdministrator
.
Specifically an instance of the Drools RuleAdministratorImpl
is returned.
- Specified by:
getRuleAdministrator
in class javax.rules.RuleServiceProvider
- Returns:
- an instance of
RuleAdministrator
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.