*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/eplv10.html
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.yangtools.yang.model.repo.api;
import com.google.common.annotations.Beta;
-import com.google.common.util.concurrent.CheckedFuture;
-
+import com.google.common.util.concurrent.ListenableFuture;
import javax.annotation.Nonnull;
-
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
/**
*/
SchemaContextFactory createSchemaContextFactory(@Nonnull SchemaSourceFilter filter);
- <T extends SchemaSourceRepresentation> CheckedFuture<T, SchemaSourceException> getSchemaSource(@Nonnull SourceIdentifier id, @Nonnull Class<T> represetation);
+ <T extends SchemaSourceRepresentation> ListenableFuture<T> getSchemaSource(@Nonnull SourceIdentifier id,
+ @Nonnull Class<T> represetation);
}