X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fadsal%2Fconfiguration%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfiguration%2FIConfigurationServiceCommon.java;fp=opendaylight%2Fadsal%2Fconfiguration%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfiguration%2FIConfigurationServiceCommon.java;h=0000000000000000000000000000000000000000;hp=bbc9ee1ee815f1e57660f7edc080987c116fa46d;hb=50f88249a65c52ba56a48852b71ce432fed2bbeb;hpb=abfa9a03550cbe9fccc4420684dced175dd6d119 diff --git a/opendaylight/adsal/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java b/opendaylight/adsal/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java deleted file mode 100644 index bbc9ee1ee8..0000000000 --- a/opendaylight/adsal/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java +++ /dev/null @@ -1,61 +0,0 @@ - -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. 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.opendaylight.controller.configuration; - -import java.util.List; - -import org.opendaylight.controller.sal.utils.IObjectReader; -import org.opendaylight.controller.sal.utils.Status; - -/** - * Common configuration interface for Configuration Service and Container - * Configuration Service - */ -public interface IConfigurationServiceCommon { - /** - * Represent the trigger to save the controller configuration cluster wide. - * When called on IConfigurationService, it will trigger a cluster wide save - * configuration event for all the global instance components and all - * components in all containers. When called on - * IContainerConfigurationService, it will trigger a cluster wide save - * configuration event for all components in the current container. - * - * @return the Status object representing the result of the saving request - */ - Status saveConfigurations(); - - /** - * Bundle will call this function to ask Configuration Manager to persist - * their configurations. It is up to the Configuration Manager to decide - * how the configuration will be persisted - * - * @param config - * The bundle configuration as a collection of - * ConfigurationObject - * @param storeName - * The identifier for this configuration - * @return The Status of the operation - */ - Status persistConfiguration(List config, String storeName); - - /** - * Bundle will call this function to ask Configuration Manager to retrieve - * the configuration identified by the passed store name - * - * @param reader - * The reader object for parsing the configuration provided by - * the caller - * @param storeName - * The identifier for the configuration - * @return The retrieved configuration as a collection of - * ConfigurationObject - */ - List retrieveConfiguration(IObjectReader reader, String storeName); -}