mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
Add registration (#520)
Signed-off-by: Scott Rushworth <openhab@5iver.com>
This commit is contained in:
parent
19c9a415f0
commit
a65efe062d
@ -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<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user