2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
11 * Generated from: yang module name: opendaylight-rest-connector yang module local name: rest-connector-impl
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Fri Jul 25 04:33:31 CDT 2014
15 * Do not modify this file unless it is present under src/main directory
17 package org.opendaylight.controller.config.yang.md.sal.rest.connector;
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.osgi.framework.BundleContext;
22 public class RestConnectorModuleFactory extends org.opendaylight.controller.config.yang.md.sal.rest.connector.AbstractRestConnectorModuleFactory {
25 public RestConnectorModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
26 BundleContext bundleContext) {
27 final RestConnectorModule restConnectorModule = super.instantiateModule(instanceName,
28 dependencyResolver, bundleContext);
29 restConnectorModule.setBundleContext(bundleContext);
30 return restConnectorModule;
34 public RestConnectorModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
35 RestConnectorModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
36 final RestConnectorModule restConnectorModule = super.instantiateModule(instanceName,
37 dependencyResolver, oldModule, oldInstance, bundleContext);
38 restConnectorModule.setBundleContext(bundleContext);
39 return restConnectorModule;