733511d47727a636ec297adc318370d5d245ec63
[mdsal.git] / binding / mdsal-binding-runtime-api / src / main / java / org / opendaylight / mdsal / binding / runtime / api / ModuleInfoSnapshot.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, 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.runtime.api;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.concepts.Immutable;
12 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider;
13 import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
14 import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider;
15
16 @Beta
17 public interface ModuleInfoSnapshot extends Immutable, EffectiveModelContextProvider,
18         SchemaSourceProvider<YangTextSchemaSource> {
19
20     <T> Class<T> loadClass(String fullyQualifiedName) throws ClassNotFoundException;
21 }