2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.netconf.persist.impl;
10 import java.io.IOException;
11 import java.util.Collections;
12 import java.util.List;
13 import org.opendaylight.controller.config.persist.api.ConfigSnapshotHolder;
14 import org.opendaylight.controller.config.persist.api.Persister;
15 import org.opendaylight.controller.config.persist.api.PropertiesProvider;
16 import org.opendaylight.controller.config.persist.api.StorageAdapter;
18 public class DummyAdapter implements StorageAdapter, Persister {
20 static int persist = 0;
23 public void persistConfig(ConfigSnapshotHolder holder) throws IOException {
30 public List<ConfigSnapshotHolder> loadLastConfigs() throws IOException {
32 return Collections.emptyList();
38 public Persister instantiate(PropertiesProvider propertiesProvider) {