2 * Copyright (c) 2017 Pantheon Technologies, s.r.o. and others. All rights reserved.
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
8 package org.opendaylight.mdsal.binding.dom.codec.osgi;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.binding.runtime.api.BindingRuntimeContext;
12 import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
13 import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider;
16 * A {@link BindingRuntimeContext} enriched with the ability to look up {@link YangTextSchemaSource}s.
18 * @author Robert Varga
20 * @deprecated This service is exposed for transition purposes only.
24 public interface BindingRuntimeContextService extends SchemaSourceProvider<YangTextSchemaSource> {
26 * Return the current {@link BindingRuntimeContext}.
28 * @return Current BindingRuntimeContext.
30 BindingRuntimeContext getBindingRuntimeContext();