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.sal.binding.api.data;
10 import org.opendaylight.controller.sal.common.DataStoreIdentifier;
12 public interface DataProviderService extends DataBrokerService {
15 * Adds {@link DataValidator} for specified Data Store
22 public void addValidator(DataStoreIdentifier store, DataValidator validator);
25 * Removes {@link DataValidator} from specified Data Store
31 public void removeValidator(DataStoreIdentifier store, DataValidator validator);
34 * Adds {@link DataCommitHandler} for specified data store
39 void addCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
42 * Removes {@link DataCommitHandler} from specified data store
47 void removeCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
50 * Adds {@link DataRefresher} for specified data store
55 void addRefresher(DataStoreIdentifier store, DataRefresher refresher);
58 * Removes {@link DataRefresher} from specified data store
63 void removeRefresher(DataStoreIdentifier store, DataRefresher refresher);