Search in sources :

Example 1 with CompositeModuleHandlerFactory

use of org.eclipse.smarthome.automation.core.internal.composite.CompositeModuleHandlerFactory in project smarthome by eclipse.

the class RuleRegistryImpl method activate.

/**
 * Activates this component. Called from DS.
 *
 * @param componentContext this component context.
 */
protected void activate(BundleContext bundleContext, Map<String, Object> properties) throws Exception {
    ruleEngine.setCompositeModuleHandlerFactory(new CompositeModuleHandlerFactory(bundleContext, moduleTypeRegistry, ruleEngine));
    ruleEngine.setStatusInfoCallback(this);
    modified(properties);
    super.activate(bundleContext);
}
Also used : CompositeModuleHandlerFactory(org.eclipse.smarthome.automation.core.internal.composite.CompositeModuleHandlerFactory)

Aggregations

CompositeModuleHandlerFactory (org.eclipse.smarthome.automation.core.internal.composite.CompositeModuleHandlerFactory)1