package org.opendaylight.controller.sal.binding.impl import org.opendaylight.controller.md.sal.common.api.data.DataCommitHandler import org.opendaylight.controller.sal.binding.api.data.DataChangeListener import org.opendaylight.controller.sal.binding.api.data.DataProviderService import org.opendaylight.controller.sal.common.DataStoreIdentifier import org.opendaylight.yangtools.yang.binding.DataObject import org.opendaylight.yangtools.yang.binding.DataRoot import org.opendaylight.yangtools.yang.binding.InstanceIdentifier class DataBrokerImpl implements DataProviderService { override beginTransaction() { } override commit(DataStoreIdentifier store) { throw new UnsupportedOperationException("Deprecated") } override editCandidateData(DataStoreIdentifier store, DataRoot changeSet) { throw new UnsupportedOperationException("Deprecated") } override getCandidateData(DataStoreIdentifier store, Class rootType) { throw new UnsupportedOperationException("Deprecated") } override T getCandidateData(DataStoreIdentifier store, T filter) { throw new UnsupportedOperationException("Deprecated") } override getConfigurationData(InstanceIdentifier data) { throw new UnsupportedOperationException("Deprecated") } override getData(DataStoreIdentifier store, Class rootType) { throw new UnsupportedOperationException("Deprecated") } override T getData(DataStoreIdentifier store, T filter) { throw new UnsupportedOperationException("Deprecated") } override getData(InstanceIdentifier path) { return readOperationalData(path); } override readConfigurationData(InstanceIdentifier path) { } override readOperationalData(InstanceIdentifier path) { } override registerChangeListener(InstanceIdentifier path, DataChangeListener changeListener) { } override registerCommitHandler(InstanceIdentifier path, DataCommitHandler, DataObject> commitHandler) { } override registerDataChangeListener(InstanceIdentifier path, DataChangeListener listener) { } override unregisterChangeListener(InstanceIdentifier path, DataChangeListener changeListener) { } }