2 * Copyright (c) 2015 Cisco Systems, Inc. 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.controller.cluster.schema.provider;
10 import com.google.common.annotations.Beta;
12 import org.eclipse.jdt.annotation.NonNull;
13 import org.opendaylight.controller.cluster.schema.provider.impl.YangTextSchemaSourceSerializationProxy;
14 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
15 import scala.concurrent.Future;
18 * A remote yang text source provider provides serializable yang text sources.
21 public interface RemoteYangTextSourceProvider {
23 Future<Set<SourceIdentifier>> getProvidedSources();
25 Future<YangTextSchemaSourceSerializationProxy> getYangTextSchemaSource(@NonNull SourceIdentifier identifier);