/*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.controller.sal.binding.api;

import java.util.EventListener;

import org.opendaylight.yangtools.yang.binding.Notification;

public interface NotificationListener<T extends Notification> extends EventListener {

    void onNotification(T notification);
}

@@ -454,94 +454,651 @@
 n;%0A%0A
-public interface NotificationListener%3CT extends Notification%3E extends EventListener %7B%0A
+/**%0A * Interface implemented by objects interested in some sort of Notification. This%0A * class acts as a base interface for specific listeners which usually are a type%0A * capture of this interface.%0A *%0A * @param %3CT%3E Notification type%0A */%0Apublic interface NotificationListener%3CT extends Notification%3E extends EventListener %7B%0A%09/**%0A%09 * Invoked to deliver the notification. Note that this method may be invoked%0A%09 * from a shared thread pool, so implementations SHOULD NOT perform CPU-intensive%0A%09 * operations and they definitely MUST NOT invoke any potentially blocking%0A%09 * operations.%0A%09 *%0A%09 * @param notification Notification being delivered.%0A%09 */
 %0A   

Add interface documentation