Yuta HIGUCHI

DatabaseManager: fix scope

Change-Id: I1e01623acf1a7197aea3e8d9dbc180c9b265f415
...@@ -69,10 +69,10 @@ public class ClusterMessagingProtocol implements Protocol<TcpMember> { ...@@ -69,10 +69,10 @@ public class ClusterMessagingProtocol implements Protocol<TcpMember> {
69 private final Logger log = getLogger(getClass()); 69 private final Logger log = getLogger(getClass());
70 70
71 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 71 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
72 - ClusterService clusterService; 72 + protected ClusterService clusterService;
73 73
74 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 74 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
75 - ClusterCommunicationService clusterCommunicator; 75 + protected ClusterCommunicationService clusterCommunicator;
76 76
77 public static final MessageSubject COPYCAT_PING = 77 public static final MessageSubject COPYCAT_PING =
78 new MessageSubject("copycat-raft-consensus-ping"); 78 new MessageSubject("copycat-raft-consensus-ping");
......
...@@ -49,10 +49,10 @@ public class DatabaseManager implements DatabaseService, DatabaseAdminService { ...@@ -49,10 +49,10 @@ public class DatabaseManager implements DatabaseService, DatabaseAdminService {
49 private final Logger log = getLogger(getClass()); 49 private final Logger log = getLogger(getClass());
50 50
51 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 51 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
52 - ClusterService clusterService; 52 + protected ClusterService clusterService;
53 53
54 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 54 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
55 - ClusterMessagingProtocol copycatMessagingProtocol; 55 + protected ClusterMessagingProtocol copycatMessagingProtocol;
56 56
57 public static final String LOG_FILE_PREFIX = "onos-copy-cat-log"; 57 public static final String LOG_FILE_PREFIX = "onos-copy-cat-log";
58 58
......