1 package org.opendaylight.controller.config.yang.config.lisp_sb.impl;
3 import org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin;
4 import org.slf4j.Logger;
5 import org.slf4j.LoggerFactory;
7 public class LfmMappingServiceSbModule extends org.opendaylight.controller.config.yang.config.lisp_sb.impl.AbstractLfmMappingServiceSbModule {
8 private final static Logger LOG = LoggerFactory.getLogger(LfmMappingServiceSbModule.class);
9 private LispSouthboundPlugin sbPlugin;
11 public LfmMappingServiceSbModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
12 super(identifier, dependencyResolver);
15 public LfmMappingServiceSbModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.controller.config.yang.config.lisp_sb.impl.LfmMappingServiceSbModule oldModule, java.lang.AutoCloseable oldInstance) {
16 super(identifier, dependencyResolver, oldModule, oldInstance);
20 public void customValidation() {
21 // add custom validation form module attributes here.
25 public java.lang.AutoCloseable createInstance() {
26 LOG.debug("LfmMappingServiceSb Module up!");
28 sbPlugin = new LispSouthboundPlugin();
29 sbPlugin.setNotificationPublishService(getNotificationPublishServiceDependency());
30 sbPlugin.setRpcRegistryDependency(getRpcRegistryDependency());
31 sbPlugin.setBindingAwareBroker(getBrokerDependency());