/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.config.yang.sal.restconf.service; import org.opendaylight.controller.config.api.DependencyResolver; import org.osgi.framework.BundleContext; /** * Generated file. * *

* Generated from: yang module name: sal-restconf-service yang module local name: json-restconf-service-impl * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator * Generated at: Tue Sep 22 07:17:38 EDT 2015 * *

* Do not modify this file unless it is present under src/main directory */ @Deprecated public class JSONRestconfServiceModuleFactory extends org.opendaylight.controller.config.yang.sal.restconf.service.AbstractJSONRestconfServiceModuleFactory { @Override public JSONRestconfServiceModule instantiateModule(final String instanceName, final DependencyResolver dependencyResolver, final BundleContext bundleContext) { final JSONRestconfServiceModule restConnectorModule = super.instantiateModule(instanceName, dependencyResolver, bundleContext); restConnectorModule.setBundleContext(bundleContext); return restConnectorModule; } @Override public JSONRestconfServiceModule instantiateModule(final String instanceName, final DependencyResolver dependencyResolver, final JSONRestconfServiceModule oldModule, final AutoCloseable oldInstance, final BundleContext bundleContext) { final JSONRestconfServiceModule restConnectorModule = super.instantiateModule(instanceName, dependencyResolver, oldModule, oldInstance, bundleContext); restConnectorModule.setBundleContext(bundleContext); return restConnectorModule; } }