BUG 6396 groupbasedpolicy project migration to blueprint
[groupbasedpolicy.git] / groupbasedpolicy / src / main / java / org / opendaylight / controller / config / yang / config / groupbasedpolicy / PolicyValidatorRegistryModuleFactory.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc.  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: groupbasedpolicy-cfg yang module local name: policy-validator-registry-impl
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Thu Dec 10 17:52:04 CET 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.groupbasedpolicy;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.osgi.framework.BundleContext;
22
23 public class PolicyValidatorRegistryModuleFactory extends org.opendaylight.controller.config.yang.config.groupbasedpolicy.AbstractPolicyValidatorRegistryModuleFactory {
24
25     @Override
26     public PolicyValidatorRegistryModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
27             PolicyValidatorRegistryModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
28         PolicyValidatorRegistryModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
29                 oldInstance, bundleContext);
30         module.setBundleContext(bundleContext);
31         return module;
32     }
33
34     @Override
35     public PolicyValidatorRegistryModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
36             BundleContext bundleContext) {
37         PolicyValidatorRegistryModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
38         module.setBundleContext(bundleContext);
39         return module;
40     }
41 }