06140f44fdfa08c48a986d3495d6ae9f54dc4b93
[controller.git] / opendaylight / md-sal / sal-dom-broker-config / src / main / java / org / opendaylight / controller / config / yang / md / sal / dom / pingpong / PingpongDataBrokerModule.java
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 package org.opendaylight.controller.config.yang.md.sal.dom.pingpong;
9
10 import org.opendaylight.controller.config.api.DependencyResolver;
11 import org.opendaylight.controller.config.api.ModuleIdentifier;
12 import org.opendaylight.controller.md.sal.dom.broker.impl.PingPongDataBroker;
13
14 /**
15  * Deprecated.
16  *
17  * @deprecated Replaced by blueprint wiring
18  */
19 @Deprecated
20 public class PingpongDataBrokerModule extends AbstractPingpongDataBrokerModule {
21     public PingpongDataBrokerModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver) {
22         super(identifier, dependencyResolver);
23     }
24
25     public PingpongDataBrokerModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver,
26             final PingpongDataBrokerModule oldModule, final java.lang.AutoCloseable oldInstance) {
27         super(identifier, dependencyResolver, oldModule, oldInstance);
28     }
29
30     @Override
31     public java.lang.AutoCloseable createInstance() {
32         return new PingPongDataBroker(getDataBrokerDependency());
33     }
34 }