/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.openhab.action.homematic.internal; import java.util.Dictionary; import org.openhab.core.scriptengine.action.ActionService; import org.osgi.service.cm.ConfigurationException; import org.osgi.service.cm.ManagedService; /** * This class registers an OSGi service for the Homematic action. * * @author Gerhard Riegler * @since 1.5.0 */ public class HomematicActionService implements ActionService, ManagedService { public void activate() { } public void deactivate() { } /** * {@inheritDoc} */ @Override public String getActionClassName() { return Homematic.class.getCanonicalName(); } /** * {@inheritDoc} */ @Override public Class<?> getActionClass() { return Homematic.class; } /** * {@inheritDoc} */ @Override public void updated(Dictionary<String, ?> properties) throws ConfigurationException { } }