2 * Copyright (c) 2015 Cisco 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.dom.spi;
10 import org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeListener;
11 import org.opendaylight.yangtools.concepts.AbstractListenerRegistration;
14 * Abstract implementation of a ListenerRegistration constrained to subclasses
15 * of {@link DOMDataTreeChangeListener}.
17 * @param <T> type of listener
18 * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.AbstractDOMDataTreeChangeListenerRegistration} instead.
21 public abstract class AbstractDOMDataTreeChangeListenerRegistration<T extends DOMDataTreeChangeListener>
22 extends AbstractListenerRegistration<T> {
23 protected AbstractDOMDataTreeChangeListenerRegistration(final T listener) {