|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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.
RuleRuntime
,
RuleAdministrator
,
RuleServiceProviderManager
Constructor Summary | |
RuleServiceProvider()
|
Method Summary | |
protected static java.lang.Object |
createInstance(java.lang.String className)
Create an instance of the specified class. |
abstract RuleAdministrator |
getRuleAdministrator()
Returns a class instance of RuleAdministrator |
abstract RuleRuntime |
getRuleRuntime()
Returns a class instance of RuleRuntime |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Associates a ClassLoader instance with this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuleServiceProvider()
Method Detail |
public abstract RuleRuntime getRuleRuntime() throws ConfigurationException
ConfigurationException
- if a specified RuleRuntime
class cannot be instantiated.public abstract RuleAdministrator getRuleAdministrator() throws ConfigurationException
ConfigurationException
- if a specified RuleAdministrator
class cannot be instantiated.public void setClassLoader(java.lang.ClassLoader classLoader)
protected static java.lang.Object createInstance(java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
className
- the fully qualified class name
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |