2 * Copyright (c) 2015 Brocade Communications Systems, Inc. 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.controller.md.sal.binding.impl;
10 import org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener;
11 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
12 import org.opendaylight.controller.md.sal.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
23 final class BindingClusteredDOMDataTreeChangeListenerAdapter<T extends DataObject>
24 extends BindingDOMDataTreeChangeListenerAdapter<T> implements ClusteredDOMDataTreeChangeListener {
25 BindingClusteredDOMDataTreeChangeListenerAdapter(BindingToNormalizedNodeCodec codec,
26 ClusteredDataTreeChangeListener<T> listener, LogicalDatastoreType store) {
27 super(codec, listener, store);