4d75ebb443596390da891c3216c90228b31e591e
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / main / java / org / opendaylight / controller / config / yang / config / remote_rpc_connector / RemoteRPCBrokerModuleFactory.java
1 /*
2  * Copyright (c) 2015 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 /*
10 * Generated file
11 *
12 * Generated from: yang module name: remote-rpc-connector yang module local name: remote-rpc-connector
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Mon Jul 07 17:02:25 PDT 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.remote_rpc_connector;
19
20
21 import org.opendaylight.controller.config.api.DependencyResolver;
22 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
23 import org.opendaylight.controller.config.spi.Module;
24 import org.osgi.framework.BundleContext;
25
26 public class RemoteRPCBrokerModuleFactory extends org.opendaylight.controller.config.yang.config.remote_rpc_connector.AbstractRemoteRPCBrokerModuleFactory {
27   @Override
28   public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
29     RemoteRPCBrokerModule module = (RemoteRPCBrokerModule)super.createModule(instanceName,dependencyResolver,bundleContext);
30     module.setBundleContext(bundleContext);
31     return module;
32   }
33
34   @Override
35   public Module createModule(String instanceName, DependencyResolver dependencyResolver,
36                              DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
37     RemoteRPCBrokerModule module = (RemoteRPCBrokerModule)super.createModule(instanceName, dependencyResolver,
38         old, bundleContext);
39     module.setBundleContext(bundleContext);
40     return module;
41   }
42 }