BUG-5280: expose backing client actor reference 52/44852/1
authorRobert Varga <rovarga@cisco.com>
Thu, 25 Aug 2016 13:37:53 +0000 (15:37 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 30 Aug 2016 09:30:50 +0000 (11:30 +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>
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;
     }
 
         return persistenceId;
     }
 
-    final @Nonnull ActorRef self() {
+    public final @Nonnull ActorRef self() {
         return self;
     }
 }
         return self;
     }
 }