import org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactoryListener;
import org.opendaylight.netconf.notifications.NetconfNotificationRegistry;
-public class NetconfNotificationOperationServiceFactory implements NetconfOperationServiceFactory, AutoCloseable {
-
+public final class NetconfNotificationOperationServiceFactory implements NetconfOperationServiceFactory, AutoCloseable {
private final NetconfNotificationRegistry netconfNotificationRegistry;
private final NetconfOperationServiceFactoryListener netconfOperationServiceFactoryListener;
}
@Override
- public NetconfOperationService createService(String netconfSessionIdForReporting) {
+ public NetconfOperationService createService(final String netconfSessionIdForReporting) {
return new NetconfNotificationOperationService(netconfSessionIdForReporting, netconfNotificationRegistry);
}
@Override
public void close() {
- this.netconfOperationServiceFactoryListener.onRemoveNetconfOperationServiceFactory(this);
+ netconfOperationServiceFactoryListener.onRemoveNetconfOperationServiceFactory(this);
}
}