Add missing license headers
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / actor_system_provider / impl / ActorSystemProviderModuleFactory.java
1 /*
2  * Copyright (c) 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: actor-system-provider-impl yang module local name: actor-system-provider-impl
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Tue Oct 06 02:11:27 EDT 2015
15 *
16 * Do not modify this file unless it is present under src/main directory
17 */
18 package org.opendaylight.controller.config.yang.config.actor_system_provider.impl;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
22 import org.opendaylight.controller.config.spi.Module;
23 import org.osgi.framework.BundleContext;
24
25 public class ActorSystemProviderModuleFactory extends AbstractActorSystemProviderModuleFactory {
26     @Override
27     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
28         ActorSystemProviderModule module = (ActorSystemProviderModule)super.createModule(instanceName,dependencyResolver,bundleContext);
29         module.setBundleContext(bundleContext);
30         return module;
31     }
32
33     @Override
34     public Module createModule(String instanceName, DependencyResolver dependencyResolver,
35             DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
36         ActorSystemProviderModule module = (ActorSystemProviderModule)super.createModule(instanceName, dependencyResolver,
37                 old, bundleContext);
38         module.setBundleContext(bundleContext);
39         return module;
40     }
41 }