b509932568426701d1e7e224cc42ba13a8e7f01a
[controller.git] / opendaylight / config / netty-threadgroup-config / src / main / java / org / opendaylight / controller / config / yang / netty / threadgroup / NettyThreadgroupModuleFactory.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 /**
10 * Generated file
11
12 * Generated from: yang module name: nsos-threadpool  yang module local name: netty-threadgroup-fixed
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Fri Nov 08 08:31:45 CET 2013
15 *
16 * Do not modify this file unless it is present under src/main directory
17 */
18 package org.opendaylight.controller.config.yang.netty.threadgroup;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.osgi.framework.BundleContext;
22
23 public class NettyThreadgroupModuleFactory extends AbstractNettyThreadgroupModuleFactory {
24     @Override
25     public NettyThreadgroupModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
26             NettyThreadgroupModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
27         NettyThreadgroupModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule, oldInstance, bundleContext);
28         module.setBundleContext(bundleContext);
29         return module;
30     }
31
32     @Override
33     public NettyThreadgroupModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
34             BundleContext bundleContext) {
35         NettyThreadgroupModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
36         module.setBundleContext(bundleContext);
37         return module;
38     }
39 }