Remove OSGiBindingAdapterFactory
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / dom / adapter / BindingRpcFutureAware.java
1 /*
2  * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.mdsal.binding.dom.adapter;
9
10 import com.google.common.util.concurrent.ListenableFuture;
11 import org.opendaylight.yangtools.yang.common.RpcResult;
12
13 /**
14  * Migration trait for exposing the Binding listenable future.
15  *
16  * @author Robert Varga
17  */
18 // FIXME: is this interface still useful? can we integrate it into our two implementations?
19 interface BindingRpcFutureAware {
20
21     ListenableFuture<RpcResult<?>> getBindingFuture();
22 }