Interface IRuleEngineFactory

All Known Implementing Classes:
RuleEngineFactory

public interface IRuleEngineFactory
Factory interface that may be used to create an instance of IRuleEngine.
Since:
5.0
Author:
O. Kerpershoek, Jon van Leuven
  • Method Details

    • create

      IRuleEngine create(IProject project, IMetaModel model, IRuleFactory factory, IValidatorFactory validators, IConnectionManager connectionManager, IRuleEngineDS datasource)
      Create an instance of IRuleEngine using a custom parser and a custom validator factory.
      Parameters:
      project - The project containing various global definitions.
      model - The meta model containing the entity and attribute definitions.
      factory - Factory implementation capable of providing rule implementations by name.
      validators - Factory implementation capable of providing validator implementations.
      connectionManager - The connection manager that can be used to initialize data rules.
      datasource - The data source providing the rule definitions for the rule engine.
      Returns:
      Rule engine implementation for the specified data source.
      Throws:
      InitializationException - This exception is thrown when the rule engine could not be created due to a fatal error.