2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
8 package org.opendaylight.controller.sal.binding.api;
\r
10 import org.opendaylight.controller.sal.common.DataStoreIdentifier;
\r
12 public interface DataProviderService extends DataBrokerService {
\r
15 * Adds {@link DataValidator} for specified Data Store
\r
22 public void addValidator(DataStoreIdentifier store, DataValidator validator);
\r
25 * Removes {@link DataValidator} from specified Data Store
\r
31 public void removeValidator(DataStoreIdentifier store,
\r
32 DataValidator validator);
\r
35 * Adds {@link DataCommitHandler} for specified data store
\r
40 void addCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
\r
43 * Removes {@link DataCommitHandler} from specified data store
\r
48 void removeCommitHandler(DataStoreIdentifier store,
\r
49 DataCommitHandler provider);
\r
52 * Adds {@link DataRefresher} for specified data store
\r
57 void addRefresher(DataStoreIdentifier store, DataRefresher refresher);
\r
60 * Removes {@link DataRefresher} from specified data store
\r
65 void removeRefresher(DataStoreIdentifier store, DataRefresher refresher);
\r