Expose a List of changes in DOMDataTreeChangeListener
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / dom / adapter / BindingClusteredDOMDataTreeChangeListenerAdapter.java
1 /*
2  * Copyright (c) 2018 Inocybe Technologies and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.mdsal.binding.dom.adapter;
9
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;
14
15 /**
16  * Adapter wrapping Binding {@link ClusteredDataTreeChangeListener} and exposing
17  * it as {@link ClusteredDOMDataTreeChangeListener} and translated DOM events
18  * to their Binding equivalent.
19  *
20  * @author Thomas Pantelis
21  */
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);
28     }
29 }