com.pega.pegarules.pub.services.jsr94
Class PRuleServiceProvider
java.lang.Object
javax.rules.RuleServiceProvider
com.pega.pegarules.pub.services.jsr94.PRuleServiceProvider
public class PRuleServiceProvider
- extends javax.rules.RuleServiceProvider
The PRuleServiceProvider class is the provider class of JSR-94
implementation of PegaRULES in versions 5.1 and above.
It provides single point access to all other classes of this implementation.
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Donald Wangunyu
Constructor Summary |
PRuleServiceProvider()
The Defualt constructor will provide initalization to all the
member variables. |
Method Summary |
javax.rules.admin.RuleAdministrator |
getRuleAdministrator()
It returns the RuleAdminstrator |
javax.rules.RuleRuntime |
getRuleRuntime()
It returns the RuleRuntime of pegaRULES. |
Methods inherited from class javax.rules.RuleServiceProvider |
setClassLoader |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
RULE_SERVICE_PROVIDER_URI
public static java.lang.String RULE_SERVICE_PROVIDER_URI
- RULE_SERVICE_PROVIDER_URI will hold the Service Provider URI
PRuleServiceProvider
public PRuleServiceProvider()
throws javax.rules.ConfigurationException
- The Defualt constructor will provide initalization to all the
member variables.
- Throws:
javax.rules.ConfigurationException
- if there was a problem starting the rules engine
getRuleAdministrator
public javax.rules.admin.RuleAdministrator getRuleAdministrator()
throws javax.rules.ConfigurationException
- It returns the RuleAdminstrator
- Specified by:
getRuleAdministrator
in class javax.rules.RuleServiceProvider
- Returns:
- RuleAdministrator
returns the RuleAdministrator instance for the Service.
- Throws:
javax.rules.ConfigurationException
getRuleRuntime
public javax.rules.RuleRuntime getRuleRuntime()
throws javax.rules.ConfigurationException
- It returns the RuleRuntime of pegaRULES. Service records defined in
pegaRULES can be activated through this RuleRuntime.
- Specified by:
getRuleRuntime
in class javax.rules.RuleServiceProvider
- Returns:
- RuleRuntime A Runtime for the service record.
- Throws:
javax.rules.ConfigurationException
Copyright © 2012 Pegasystems Inc. All Rights Reserved.