aboutsummaryrefslogtreecommitdiffstats
path: root/upstream/odl-aaa-moon/aaa/aaa-authz/aaa-authz-service/src/main/java/org/opendaylight/controller/config/yang/config/aaa_authz/srv/AuthzSrvModuleFactory.java
blob: 3ff67f54fb3515cdb10646284ac997a87cb02bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

/*
 * Generated file
 *
 * Generated from: yang module name: aaa-authz-service-impl yang module local name: aaa-authz-service
 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
 * Generated at: Thu Jul 24 11:19:40 CEST 2014
 *
 * Do not modify this file unless it is present under src/main directory
 */
package org.opendaylight.controller.config.yang.config.aaa_authz.srv;

import org.opendaylight.controller.config.api.DependencyResolver;
import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
import org.opendaylight.controller.config.spi.Module;
import org.osgi.framework.BundleContext;

public class AuthzSrvModuleFactory extends
        org.opendaylight.controller.config.yang.config.aaa_authz.srv.AbstractAuthzSrvModuleFactory {

    @Override
    public org.opendaylight.controller.config.spi.Module createModule(String instanceName,
            org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
            org.osgi.framework.BundleContext bundleContext) {

        final AuthzSrvModule module = (AuthzSrvModule) super.createModule(instanceName,
                dependencyResolver, bundleContext);

        module.setBundleContext(bundleContext);

        return module;

    }

    @Override
    public Module createModule(final String instanceName,
            final DependencyResolver dependencyResolver, final DynamicMBeanWithInstance old,
            final BundleContext bundleContext) throws Exception {
        final AuthzSrvModule module = (AuthzSrvModule) super.createModule(instanceName,
                dependencyResolver, old, bundleContext);

        module.setBundleContext(bundleContext);

        return module;
    }
}