Write failed node data on recovery to a file
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / src / main / java / org / opendaylight / controller / config / yang / config / kitchen_service / impl / KitchenServiceModuleFactory.java
1 /*
2  * Copyright (c) 2014, 2015 Brocade Communications 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 /**
10  * Generated file
11
12  * Generated from: yang module name: toaster-consumer-impl  yang module local name: toaster-consumer-impl
13  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14  * Generated at: Wed Feb 05 11:31:30 CET 2014
15  *
16  * Do not modify this file unless it is present under src/main directory
17  */
18 package org.opendaylight.controller.config.yang.config.kitchen_service.impl;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.osgi.framework.BundleContext;
22
23 public class KitchenServiceModuleFactory extends AbstractKitchenServiceModuleFactory {
24     @Override
25     public KitchenServiceModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
26             KitchenServiceModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
27         KitchenServiceModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
28                 oldInstance, bundleContext);
29         module.setBundleContext(bundleContext);
30         return module;
31     }
32
33     @Override
34     public KitchenServiceModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
35             BundleContext bundleContext) {
36         KitchenServiceModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
37         module.setBundleContext(bundleContext);
38         return module;
39     }
40 }