/** * 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.xbmc.internal; import org.openhab.core.scriptengine.action.ActionService; /** * This class registers an OSGi service for the XBMC action. * * @author Kai Kreuzer * @since 1.3.0 */ public class XBMCActionService implements ActionService { /** * Indicates whether this action is properly configured which means all * necessary configurations are set. This flag can be checked by the * action methods before executing code. */ /* default */ static boolean isProperlyConfigured = false; public XBMCActionService() { } public void activate() { } public void deactivate() { // deallocate Resources here that are no longer needed and // should be reset when activating this binding again } @Override public String getActionClassName() { return XBMC.class.getCanonicalName(); } @Override public Class<?> getActionClass() { return XBMC.class; } }