org.wso2.carbon.rule.kernel.backend
Interface RuleBackendRuntimeFactory


public interface RuleBackendRuntimeFactory

Factory interface to create the real back end runtimes.


Method Summary
 RuleBackendRuntime getRuleBackendRuntime(Map<String,String> properties, ClassLoader classLoader)
          This interface is used to create the Back end runtimes in different types.
 

Method Detail

getRuleBackendRuntime

RuleBackendRuntime getRuleBackendRuntime(Map<String,String> properties,
                                         ClassLoader classLoader)
                                         throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
This interface is used to create the Back end runtimes in different types. We use a factory to pass properties and other backend specific things so that the factory and take care of creating the real runtimes.

Parameters:
properties - - backend runtime properties
classLoader - - class loader to be used to load the classes
Returns:
- back end runtime object corresponding to the given factory
Throws:
org.wso2.carbon.rule.common.exception.RuleConfigurationException


Copyright © 2015 WSO2. All rights reserved.