2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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
9 package org.opendaylight.mdsal.binding.javav2.spec.runtime;
11 import com.google.common.annotations.Beta;
12 import java.util.EventListener;
13 import org.opendaylight.mdsal.binding.javav2.spec.base.Notification;
16 * Marker interface for generated notification listener interfaces. This interface
17 * exists solely as support for generated code. Users should never implement this
18 * interface directly, but rather implement one of the sub-interfaces generated
22 * The subclasses of this interface have callbacks for events, which are derived
23 * from {@link Notification} class in form void
24 * on{NotificationType}(NotificationType notification).
27 * E.g. if we have notification SessionUp the callback will have signature:
28 * <code>void onSessionUp(SessionUp notification)</code>
31 public interface NotificationListener extends EventListener {