2 * Copyright (c) 2013 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: config-pcep-topology-provider yang module local name: pcep-topology-impl
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Mon Nov 18 21:08:29 CET 2013
15 * Do not modify this file unless it is present under src/main directory
17 package org.opendaylight.controller.config.yang.pcep.topology.provider;
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
21 import org.opendaylight.controller.config.spi.Module;
22 import org.osgi.framework.BundleContext;
27 public class PCEPTopologyProviderModuleFactory extends
28 org.opendaylight.controller.config.yang.pcep.topology.provider.AbstractPCEPTopologyProviderModuleFactory {
30 public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
31 final BundleContext bundleContext) {
32 final PCEPTopologyProviderModule module = (PCEPTopologyProviderModule)
33 super.createModule(instanceName, dependencyResolver, bundleContext);
34 module.setBundleContext(bundleContext);
39 public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
40 final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
41 final PCEPTopologyProviderModule module = (PCEPTopologyProviderModule)
42 super.createModule(instanceName, dependencyResolver, old, bundleContext);
43 module.setBundleContext(bundleContext);