-import org.opendaylight.controller.sal.common.DataStoreIdentifier;
-
-public interface DataProviderService extends DataBrokerService {
-
- /**
- * Adds {@link DataValidator} for specified Data Store
- *
- * @param store
- * Data Store
- * @param validator
- * Validator
- */
- public void addValidator(DataStoreIdentifier store, DataValidator validator);
-
- /**
- * Removes {@link DataValidator} from specified Data Store
- *
- * @param store
- * @param validator
- * Validator
- */
- public void removeValidator(DataStoreIdentifier store, DataValidator validator);
-
- /**
- * Adds {@link DataCommitHandler} for specified data store
- *
- * @param store
- * @param provider
- */
- void addCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
-
- /**
- * Removes {@link DataCommitHandler} from specified data store
- *
- * @param store
- * @param provider
- */
- void removeCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
-
- /**
- * Adds {@link DataRefresher} for specified data store
- *
- * @param store
- * @param refresher
- */
- void addRefresher(DataStoreIdentifier store, DataRefresher refresher);
-
+import org.opendaylight.controller.md.sal.common.api.data.DataProvisionService;
+import org.opendaylight.controller.md.sal.common.api.data.DataReader;
+import org.opendaylight.yangtools.concepts.Registration;
+import org.opendaylight.yangtools.yang.binding.DataObject;
+import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
+
+/**
+ * DataProviderService is common access point for {@link org.opendaylight.controller.sal.binding.api.BindingAwareProvider} providers
+ * to access data trees described by the YANG model.
+ */
+public interface DataProviderService extends DataBrokerService, DataProvisionService<InstanceIdentifier<? extends DataObject>, DataObject> {