Change-Id: Iaf581baea36091724eebbc5de33dda34605e1912
Signed-off-by: Robert Varga <rovarga@cisco.com>
* Users of this interface can publish any YANG-modeled notification which will
* be delivered to all subscribed listeners.
* <p>
* Users of this interface can publish any YANG-modeled notification which will
* be delivered to all subscribed listeners.
* <p>
- * Prefered way of publishing of notifications is done by invoking {@link #publish(Object)}.
+ * Preferred way of publishing of notifications is done by invoking {@link #publish(Object)}.
*
* <p>You may consider using {@link #publish(Object, ExecutorService)} if and only if
* your use-case requires customized execution policy or run-to-completion
*
* <p>You may consider using {@link #publish(Object, ExecutorService)} if and only if
* your use-case requires customized execution policy or run-to-completion
* Publishes a notification and notifies subscribed listeners. All listener
* notifications are done via the provided executor.
* <p>
* Publishes a notification and notifies subscribed listeners. All listener
* notifications are done via the provided executor.
* <p>
- * <b>Note:</b> Use only if ineccessary. Consider using
+ * <b>Note:</b> Use only if necessary. Consider using
* {@link #publish(Object)} for most use-cases.
*
* <p>
* {@link #publish(Object)} for most use-cases.
*
* <p>
package org.opendaylight.controller.md.sal.common.api.notify;
import java.util.EventListener;
package org.opendaylight.controller.md.sal.common.api.notify;
import java.util.EventListener;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
-public interface NotificationSubscriptionService<T,N,L extends EventListener> {
+public interface NotificationSubscriptionService<T, N, L extends EventListener> {
- ListenerRegistration<L> registerNotificationListener(T type,L listener);
+ ListenerRegistration<L> registerNotificationListener(T type, L listener);
©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.