Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / md / sal / 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.controller.md.sal.dom.spi;
9
10 import org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeListener;
11 import org.opendaylight.yangtools.concepts.AbstractListenerRegistration;
12
13 /**
14  * Abstract implementation of a ListenerRegistration constrained to subclasses
15  * of {@link DOMDataTreeChangeListener}.
16  *
17  * @param <T> type of listener
18  * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.AbstractDOMDataTreeChangeListenerRegistration} instead.
19  */
20 @Deprecated
21 public abstract class AbstractDOMDataTreeChangeListenerRegistration<T extends DOMDataTreeChangeListener>
22         extends AbstractListenerRegistration<T> {
23     protected AbstractDOMDataTreeChangeListenerRegistration(final T listener) {
24         super(listener);
25     }
26 }