BUG-5280: expose backing client actor reference 01/46501/5
authorRobert Varga <rovarga@cisco.com>
Thu, 25 Aug 2016 13:37:53 +0000 (15:37 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 6 Oct 2016 17:31:29 +0000 (19:31 +0200)
Exposing the actor directly allows us to retain only the context
without having to attach a specific behavior to implementation
utility classes.

Change-Id: I6fd26a23b08f4c7cb9d70d817aaf8deb44d55d88
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit cd2f680988549922b1c928b7c01fc31112eeca4c)

opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientActorContext.java

index e864ea47bbced2beeaf12b6266d4929fa161af9e..0ca3545cf33eba797b6b278a5da675d75e4d442e 100644 (file)
@@ -31,7 +31,7 @@ abstract class AbstractClientActorContext implements Mutable {
         return persistenceId;
     }
 
-    final @Nonnull ActorRef self() {
+    public final @Nonnull ActorRef self() {
         return self;
     }
 }