package org.opendaylight.controller.cluster;
import akka.actor.ActorSystem;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
/**
* @author Thomas Pantelis
*/
public interface ActorSystemProvider {
+
/**
- * @return the current ActorSystem.
+ * Returns the ActorSystem.
+ *
+ * @return the ActorSystem.
*/
- @Nonnull
- ActorSystem getActorSystem();
+ @NonNull ActorSystem getActorSystem();
/**
* Register a listener for ActorSystem lifecycle events.
* @return a ListenerRegistration instance to be used to unregister
*/
ListenerRegistration<ActorSystemProviderListener> registerActorSystemProviderListener(
- @Nonnull ActorSystemProviderListener listener);
+ @NonNull ActorSystemProviderListener listener);
}