@Beta
public interface SchemaRepository
SchemaContext
instances.Modifier and Type | Method and Description |
---|---|
SchemaContextFactory |
createSchemaContextFactory(SchemaContextFactoryConfiguration config)
Returns
SchemaContextFactory with supplied configuration. |
SchemaContextFactory |
createSchemaContextFactory(SchemaSourceFilter filter)
Deprecated.
|
<T extends SchemaSourceRepresentation> |
getSchemaSource(SourceIdentifier id,
Class<T> represetation) |
@Deprecated SchemaContextFactory createSchemaContextFactory(@Nonnull SchemaSourceFilter filter)
createSchemaContextFactory(SchemaContextFactoryConfiguration)
instead.SchemaContextFactory
, which will filter
available schema sources using the provided filter.filter
- Filter which acts as the gating function before a schema
source is considered by the factory for inclusion in the
SchemaContext
it produces.SchemaContextFactory createSchemaContextFactory(@Nonnull SchemaContextFactoryConfiguration config)
SchemaContextFactory
with supplied configuration.config
- configuration of schema context factory.<T extends SchemaSourceRepresentation> com.google.common.util.concurrent.ListenableFuture<T> getSchemaSource(@Nonnull SourceIdentifier id, @Nonnull Class<T> represetation)
Copyright © 2019 OpenDaylight. All rights reserved.