Introduced neutron-mapper
[groupbasedpolicy.git] / neutron-mapper / src / main / java / org / opendaylight / controller / config / yang / config / neutron_mapper / impl / NeutronMapperModuleFactory.java
1 /*
2 * Generated file
3 *
4 * Generated from: yang module name: neutron-mapper-impl yang module local name: neutron-mapper-impl
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Thu Feb 19 12:58:22 CET 2015
7 *
8 * Do not modify this file unless it is present under src/main directory
9 */
10 /*
11  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
12  *
13  * This program and the accompanying materials are made available under the
14  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
15  * and is available at http://www.eclipse.org/legal/epl-v10.html
16  */
17
18 package org.opendaylight.controller.config.yang.config.neutron_mapper.impl;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
22 import org.opendaylight.controller.config.spi.Module;
23 import org.osgi.framework.BundleContext;
24
25 public class NeutronMapperModuleFactory extends org.opendaylight.controller.config.yang.config.neutron_mapper.impl.AbstractNeutronMapperModuleFactory {
26
27     /**
28      * @see org.opendaylight.controller.config.yang.config.neutron_mapper.impl.AbstractNeutronMapperModuleFactory#createModule(java.lang.String, org.opendaylight.controller.config.api.DependencyResolver, org.osgi.framework.BundleContext)
29      */
30     @Override
31     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
32         NeutronMapperModule module = (NeutronMapperModule) super.createModule(instanceName, dependencyResolver, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36
37     /**
38      * @see org.opendaylight.controller.config.yang.config.neutron_mapper.impl.AbstractNeutronMapperModuleFactory#createModule(java.lang.String, org.opendaylight.controller.config.api.DependencyResolver, org.opendaylight.controller.config.api.DynamicMBeanWithInstance, org.osgi.framework.BundleContext)
39      */
40     @Override
41     public Module createModule(String instanceName, DependencyResolver dependencyResolver, DynamicMBeanWithInstance old,
42             BundleContext bundleContext) throws Exception {
43         NeutronMapperModule module = (NeutronMapperModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
44         module.setBundleContext(bundleContext);
45         return module;
46     }
47
48 }