public final class EventDrivenVM
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ExecutionSchema |
createExecutionSchema(EventRealm eventRealm,
Scheduler.ISchedulerFactory schedulerFactory,
java.util.Set<RuleSpecification<?>> specifications)
Creates a new execution schema that is initialized over the given
EventRealm, creates an executor and rule base with the given
rule specifications and prepares a scheduler using the provided factory.
|
static RuleEngine |
createRuleEngine(EventRealm eventRealm)
Creates a new rule engine that is initialized over the given
EventRealm and a rule base without rules.
|
public static RuleEngine createRuleEngine(EventRealm eventRealm)
eventRealm
- public static ExecutionSchema createExecutionSchema(EventRealm eventRealm, Scheduler.ISchedulerFactory schedulerFactory, java.util.Set<RuleSpecification<?>> specifications)
eventRealm
- schedulerFactory
- specifications
-