3ff67f54fb3515cdb10646284ac997a87cb02bb9
[moon.git] /
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 /*
10  * Generated file
11  *
12  * Generated from: yang module name: aaa-authz-service-impl yang module local name: aaa-authz-service
13  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14  * Generated at: Thu Jul 24 11:19:40 CEST 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.aaa_authz.srv;
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 AuthzSrvModuleFactory extends
26         org.opendaylight.controller.config.yang.config.aaa_authz.srv.AbstractAuthzSrvModuleFactory {
27
28     @Override
29     public org.opendaylight.controller.config.spi.Module createModule(String instanceName,
30             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
31             org.osgi.framework.BundleContext bundleContext) {
32
33         final AuthzSrvModule module = (AuthzSrvModule) super.createModule(instanceName,
34                 dependencyResolver, bundleContext);
35
36         module.setBundleContext(bundleContext);
37
38         return module;
39
40     }
41
42     @Override
43     public Module createModule(final String instanceName,
44             final DependencyResolver dependencyResolver, final DynamicMBeanWithInstance old,
45             final BundleContext bundleContext) throws Exception {
46         final AuthzSrvModule module = (AuthzSrvModule) super.createModule(instanceName,
47                 dependencyResolver, old, bundleContext);
48
49         module.setBundleContext(bundleContext);
50
51         return module;
52     }
53 }