BUG-9079 Make PCEP session recoverable from exception
[bgpcep.git] / pcep / topology / topology-provider / src / main / java / org / opendaylight / controller / config / yang / pcep / topology / provider / Stateful07TopologySessionListenerModuleFactory.java
1 /*
2  * Copyright (c) 2014 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-stateful07
12  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13  * Generated at: Mon Jan 27 11:08:05 CET 2014
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 Replaced by blueprint wiring
26  */
27 public class Stateful07TopologySessionListenerModuleFactory extends
28     AbstractStateful07TopologySessionListenerModuleFactory {
29
30     @Override
31     public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
32         final BundleContext bundleContext) {
33         final Stateful07TopologySessionListenerModule module = (Stateful07TopologySessionListenerModule)
34             super.createModule(instanceName, dependencyResolver, bundleContext);
35         module.setBundleContext(bundleContext);
36         return module;
37     }
38
39     @Override
40     public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
41         final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
42         final Stateful07TopologySessionListenerModule module = (Stateful07TopologySessionListenerModule)
43             super.createModule(instanceName, dependencyResolver, old, bundleContext);
44         module.setBundleContext(bundleContext);
45         return module;
46     }
47 }