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
9 package org.opendaylight.controller.cluster.schema.provider;
11 import com.google.common.annotations.Beta;
13 import javax.annotation.Nonnull;
14 import org.opendaylight.controller.cluster.schema.provider.impl.YangTextSchemaSourceSerializationProxy;
15 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
16 import scala.concurrent.Future;
19 * A remote yang text source provider provides serializable yang text sources.
22 public interface RemoteYangTextSourceProvider {
24 Future<Set<SourceIdentifier>> getProvidedSources();
26 Future<YangTextSchemaSourceSerializationProxy> getYangTextSchemaSource(@Nonnull SourceIdentifier identifier);