2 * Copyright (c) 2018 Inocybe Technologies 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.mdsal.binding.dom.adapter;
10 import org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener;
11 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
12 import org.opendaylight.mdsal.dom.api.ClusteredDOMDataTreeChangeListener;
13 import org.opendaylight.yangtools.yang.binding.DataObject;
16 * Adapter wrapping Binding {@link ClusteredDataTreeChangeListener} and exposing
17 * it as {@link ClusteredDOMDataTreeChangeListener} and translated DOM events
18 * to their Binding equivalent.
20 * @author Thomas Pantelis
22 final class BindingClusteredDOMDataTreeChangeListenerAdapter<T extends DataObject>
23 extends BindingDOMDataTreeChangeListenerAdapter<T> implements ClusteredDOMDataTreeChangeListener {
24 BindingClusteredDOMDataTreeChangeListenerAdapter(final AdapterContext codec,
25 final ClusteredDataTreeChangeListener<T> listener, final LogicalDatastoreType store,
26 final Class<T> augment) {
27 super(codec, listener, store, augment);