use of org.eclipse.smarthome.model.script.internal.engine.ServiceTrackerActionServiceProvider in project smarthome by eclipse.
the class ServiceModule method configure.
@Override
public void configure(Binder binder) {
binder.bind(ItemRegistry.class).toInstance(scriptServiceUtil.getItemRegistryInstance());
binder.bind(ThingRegistry.class).toInstance(scriptServiceUtil.getThingRegistryInstance());
binder.bind(ModelRepository.class).toInstance(scriptServiceUtil.getModelRepositoryInstance());
binder.bind(ScriptEngine.class).toInstance(scriptEngine);
binder.bind(IActionServiceProvider.class).toInstance(new ServiceTrackerActionServiceProvider(scriptServiceUtil));
binder.bind(Script.class).to(ScriptImpl.class);
}
Aggregations