Add MXBean to report shard registered DTCL/DCL info
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / md / sal / binding / impl / BindingClusteredDOMDataTreeChangeListenerAdapter.java
1 /*
2  * Copyright (c) 2015 Brocade Communications Systems, Inc. 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.controller.md.sal.binding.impl;
9
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;
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(BindingToNormalizedNodeCodec codec,
25             ClusteredDataTreeChangeListener<T> listener, LogicalDatastoreType store) {
26         super(codec, listener, store);
27     }
28 }