Add odl-mdsal-singleton-dom feature and CSS yang
[controller.git] / opendaylight / md-sal / sal-dom-config / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / md / sal / config / impl / cluster / singleton / service / rev160718 / DOMClusterSingletonServiceProviderModuleFactory.java
1 /*
2  * Copyright (c) 2016 Brocade Communications 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 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.md.sal.config.impl.cluster.singleton.service.rev160718;
9
10 import org.opendaylight.controller.config.api.DependencyResolver;
11 import org.osgi.framework.BundleContext;
12
13 /**
14  * @deprecated Replaced by blueprint wiring but remains for backwards compatibility until downstream users
15  *             of the provided config system service are converted to blueprint.
16  */
17 @Deprecated
18 public class DOMClusterSingletonServiceProviderModuleFactory extends AbstractDOMClusterSingletonServiceProviderModuleFactory {
19     @Override
20     public DOMClusterSingletonServiceProviderModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
21             DOMClusterSingletonServiceProviderModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
22         DOMClusterSingletonServiceProviderModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
23                 oldInstance, bundleContext);
24         module.setBundleContext(bundleContext);
25         return module;
26     }
27
28     @Override
29     public DOMClusterSingletonServiceProviderModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
30             BundleContext bundleContext) {
31         DOMClusterSingletonServiceProviderModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
32         module.setBundleContext(bundleContext);
33         return module;
34     }
35 }