2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
 
   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
 
  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
 
  16  * Do not modify this file unless it is present under src/main directory
 
  18 package org.opendaylight.controller.config.yang.config.aaa_authz.srv;
 
  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;
 
  25 public class AuthzSrvModuleFactory extends
 
  26         org.opendaylight.controller.config.yang.config.aaa_authz.srv.AbstractAuthzSrvModuleFactory {
 
  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) {
 
  33         final AuthzSrvModule module = (AuthzSrvModule) super.createModule(instanceName,
 
  34                 dependencyResolver, bundleContext);
 
  36         module.setBundleContext(bundleContext);
 
  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);
 
  49         module.setBundleContext(bundleContext);