Add registration (#520)

Signed-off-by: Scott Rushworth <openhab@5iver.com>
This commit is contained in:
Scott Rushworth 2019-02-03 12:50:57 -05:00 committed by Kai Kreuzer
parent 19c9a415f0
commit a65efe062d

View File

@ -17,6 +17,7 @@ import java.util.HashMap;
import org.openhab.core.automation.Module;
import org.openhab.core.automation.handler.ModuleHandler;
import org.openhab.core.automation.handler.ModuleHandlerFactory;
import org.openhab.core.automation.module.script.rulesupport.shared.ScriptedHandler;
import org.osgi.service.component.annotations.Component;
@ -31,7 +32,7 @@ import org.osgi.service.component.annotations.Component;
* @author Simon Merschjohann
*
*/
@Component(immediate = true, service = ScriptedCustomModuleHandlerFactory.class)
@Component(immediate = true, service = { ScriptedCustomModuleHandlerFactory.class, ModuleHandlerFactory.class })
public class ScriptedCustomModuleHandlerFactory extends AbstractScriptedModuleHandlerFactory {
private final HashMap<String, ScriptedHandler> typesHandlers = new HashMap<>();