Removed legacy binding-api concepts.
[mdsal.git] / dom / mdsal-dom-spi / src / main / java / org / opendaylight / mdsal / dom / spi / AbstractDOMDataTreeChangeListenerRegistration.java
1 /*
2  * Copyright (c) 2015 Cisco 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.mdsal.dom.spi;
9
10 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
11
12 import org.opendaylight.yangtools.concepts.AbstractListenerRegistration;
13
14 /**
15  * Abstract implementation of a ListenerRegistration constrained to subclasses
16  * of {@link DOMDataTreeChangeListener}.
17  *
18  * @param <T> type of listener
19  */
20 public abstract class AbstractDOMDataTreeChangeListenerRegistration<T extends DOMDataTreeChangeListener> extends AbstractListenerRegistration<T> {
21     protected AbstractDOMDataTreeChangeListenerRegistration(final T listener) {
22         super(listener);
23     }
24 }