com.haley.haleyrules.jsr94
Class RuleServiceProviderImpl

java.lang.Object
  |
  +--javax.rules.RuleServiceProvider
        |
        +--com.haley.haleyrules.jsr94.RuleServiceProviderImpl

public class RuleServiceProviderImpl
extends javax.rules.RuleServiceProvider

This class provides access to the RuleRuntime and RuleAdministrator implementation supplied by your rule engine vendor 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 your rule engine vendor should be retrieved using a JNDI lookup. This class should be constructed using the RuleServiceProviderManager.getRuleServiceProvider method.


Constructor Summary
RuleServiceProviderImpl()
           
 
Method Summary
 javax.rules.admin.RuleAdministrator getRuleAdministrator()
          Gets a class instance of RuleAdministratorImpl
 javax.rules.RuleRuntime getRuleRuntime()
          Gets a class instance of RuleRuntime
 
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
 

Constructor Detail

RuleServiceProviderImpl

public RuleServiceProviderImpl()
Method Detail

getRuleAdministrator

public javax.rules.admin.RuleAdministrator getRuleAdministrator()
                                                         throws javax.rules.ConfigurationException
Gets a class instance of RuleAdministratorImpl
Overrides:
getRuleAdministrator in class javax.rules.RuleServiceProvider
Returns:
RuleAdministrator an instance of RuleAdministratorImpl
Throws:
javax.rules.ConfigurationException - if a specified RuleAdministratior class cannot be instantiated.

getRuleRuntime

public javax.rules.RuleRuntime getRuleRuntime()
                                       throws javax.rules.ConfigurationException
Gets a class instance of RuleRuntime
Overrides:
getRuleRuntime in class javax.rules.RuleServiceProvider
Returns:
RuleRuntime an instance of RuleRuntime
Throws:
javax.rules.ConfigurationException - if a specified RuleRuntime class cannot be instantiated.


Copyright © 2005-2006 Haley Systems, Inc. All Rights Reserved.