Create pcep topology parent aggregator
[bgpcep.git] / pcep / topology / topology-provider / src / main / java / org / opendaylight / controller / config / yang / pcep / topology / provider / PCEPTopologyProviderModuleFactory.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  * Generated file
10
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
14  *
15  * Do not modify this file unless it is present under src/main directory
16  */
17 package org.opendaylight.controller.config.yang.pcep.topology.provider;
18
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;
23
24 /**
25  * @deprecated
26  */
27 public class PCEPTopologyProviderModuleFactory extends
28     org.opendaylight.controller.config.yang.pcep.topology.provider.AbstractPCEPTopologyProviderModuleFactory {
29     @Override
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);
35         return module;
36     }
37
38     @Override
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);
44         return module;
45     }
46 }