@Beta @MetaInfServices(value=org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository.class) public final class SharedSchemaRepository extends org.opendaylight.yangtools.yang.model.repo.util.AbstractSchemaRepository implements org.opendaylight.yangtools.concepts.Identifiable<String>
SchemaRepository which allows sharing of SchemaContext as long as their specification is the same.
Note: for current implementation, "same" means the same filter and the same set of SourceIdentifiers.
| Constructor and Description |
|---|
SharedSchemaRepository(String id) |
| Modifier and Type | Method and Description |
|---|---|
@NonNull org.opendaylight.yangtools.yang.model.repo.api.EffectiveModelContextFactory |
createEffectiveModelContextFactory(@NonNull org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration config) |
@NonNull String |
getIdentifier() |
String |
toString() |
getSchemaSource, registerSchemaSource, registerSchemaSourceListenerpublic SharedSchemaRepository(String id)
public @NonNull String getIdentifier()
getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<String>public @NonNull org.opendaylight.yangtools.yang.model.repo.api.EffectiveModelContextFactory createEffectiveModelContextFactory(@NonNull org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration config)
createEffectiveModelContextFactory in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepositoryCopyright © 2020 OpenDaylight. All rights reserved.