org.drools.jsr94.rules
Class RuleServiceProviderImpl
java.lang.Object
javax.rules.RuleServiceProvider
org.drools.jsr94.rules.RuleServiceProviderImpl
public class RuleServiceProviderImpl
- extends RuleServiceProvider
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.
- Author:
- thomas diesler
- See Also:
RuleRuntimeImpl
,
RuleAdministratorImpl
,
RuleServiceProvider
,
RuleServiceProviderManager.getRuleServiceProvider(String)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleServiceProviderImpl
public RuleServiceProviderImpl()
- Create a new
RuleServiceProviderImpl
.
getRuleRuntime
public RuleRuntime getRuleRuntime()
- Returns a class instance of
RuleRuntime
. Specifically
an instance of the Drools RuleRuntimeImpl
is returned.
- Specified by:
getRuleRuntime
in class RuleServiceProvider
- Returns:
- an instance of
RuleRuntime
getRuleAdministrator
public RuleAdministrator getRuleAdministrator()
- Returns a class instance of
RuleAdministrator
. Specifically
an instance of the Drools RuleAdministratorImpl
is returned.
- Specified by:
getRuleAdministrator
in class RuleServiceProvider
- Returns:
- an instance of
RuleAdministrator
Copyright © 2001-2005 The Codehaus. All Rights Reserved.