import java.util.EventListener;
import java.util.concurrent.ExecutorService;
-
import org.opendaylight.controller.md.sal.common.api.notify.NotificationPublishService;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
import org.opendaylight.yangtools.yang.binding.Notification;
* Interface for a notification service that provides publish/subscribe capabilities for YANG
* modeled notifications. This interface is a combination of the {@link NotificationService} and
* {@link NotificationPublishService} interfaces.
+ *
+ * @deprecated Please use {@link org.opendaylight.controller.md.sal.binding.api.NotificationPublishService}.
*/
+@Deprecated
public interface NotificationProviderService extends NotificationService, NotificationPublishService<Notification> {
/**
* {@inheritDoc}
*/
@Override
- public void publish(Notification notification);
+ void publish(Notification notification);
/**
* {@inheritDoc}
/**
* Interface for a listener interested in being notified about notification subscriptions.
*/
- public interface NotificationInterestListener extends EventListener {
+ interface NotificationInterestListener extends EventListener {
/**
* Callback that is invoked when a notification listener subscribes for a