@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 |
|---|---|
org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactory |
createSchemaContextFactory(org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration config) |
org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactory |
createSchemaContextFactory(org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter filter)
Deprecated.
|
String |
getIdentifier() |
String |
toString() |
public SharedSchemaRepository(String id)
public String getIdentifier()
getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<String>@Deprecated public org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactory createSchemaContextFactory(@Nonnull org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter filter)
createSchemaContextFactory in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepositorypublic org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactory createSchemaContextFactory(@Nonnull org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration config)
createSchemaContextFactory in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepositoryCopyright © 2019 OpenDaylight. All rights reserved.