Remove use of CheckedFuture in clustering-it-provider
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / sal / dom / broker / ProviderContextImpl.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.sal.dom.broker;
9
10 import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;
11 import org.opendaylight.controller.sal.core.api.Provider;
12
13 @Deprecated
14 class ProviderContextImpl extends ConsumerContextImpl implements ProviderSession {
15     private final Provider provider;
16
17     ProviderContextImpl(final Provider provider, final BrokerImpl broker) {
18         super(null, broker);
19         this.provider = provider;
20     }
21
22     @Override
23     public void close() {
24     }
25
26     public Provider getProvider() {
27         return provider;
28     }
29 }