*/
public class LearningSwitchManagerSimpleImpl
implements DataTreeChangeListenerRegistrationHolder, LearningSwitchManager {
-
private static final Logger LOG = LoggerFactory.getLogger(LearningSwitchManagerSimpleImpl.class);
- private NotificationService notificationService;
+
+ private NotificationService notificationService = null;
private PacketProcessingService packetProcessingService;
- private DataBroker data;
- private Registration packetInRegistration;
- private ListenerRegistration<DataTreeChangeListener> dataTreeChangeListenerRegistration;
+ private DataBroker data = null;
+ private Registration packetInRegistration = null;
+ private ListenerRegistration<DataTreeChangeListener> dataTreeChangeListenerRegistration = null;
/**
* Sets the NotificationService.
* @param notificationService the notificationService to set
*/
@Override
- public void setNotificationService(NotificationService notificationService) {
+ public void setNotificationService(final NotificationService notificationService) {
this.notificationService = notificationService;
}
*/
@Override
public void setPacketProcessingService(
- PacketProcessingService packetProcessingService) {
+ final PacketProcessingService packetProcessingService) {
this.packetProcessingService = packetProcessingService;
}
* Sets the DataBroker.
*/
@Override
- public void setDataBroker(DataBroker broker) {
+ public void setDataBroker(final DataBroker broker) {
data = broker;
}