Merge "BUG 2676 : Use custom client-dispatcher when configured"
[controller.git] / opendaylight / netconf / netconf-impl / src / main / java / org / opendaylight / controller / config / yang / config / netconf / northbound / impl / NetconfServerMonitoringModule.java
1 package org.opendaylight.controller.config.yang.config.netconf.northbound.impl;
2
3 import org.opendaylight.controller.netconf.impl.osgi.NetconfMonitoringServiceImpl;
4
5 public class NetconfServerMonitoringModule extends org.opendaylight.controller.config.yang.config.netconf.northbound.impl.AbstractNetconfServerMonitoringModule {
6     public NetconfServerMonitoringModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
7         super(identifier, dependencyResolver);
8     }
9
10     public NetconfServerMonitoringModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.controller.config.yang.config.netconf.northbound.impl.NetconfServerMonitoringModule oldModule, java.lang.AutoCloseable oldInstance) {
11         super(identifier, dependencyResolver, oldModule, oldInstance);
12     }
13
14     @Override
15     public void customValidation() {
16         // add custom validation form module attributes here.
17     }
18
19     @Override
20     public java.lang.AutoCloseable createInstance() {
21         return new NetconfMonitoringServiceImpl(getAggregatorDependency());
22     }
23
24 }