@Beta
public interface SchemaRepository
SchemaContext
instances.Modifier and Type | Method and Description |
---|---|
@NonNull SchemaContextFactory |
createSchemaContextFactory(@NonNull SchemaContextFactoryConfiguration config)
Returns
SchemaContextFactory with supplied configuration. |
@NonNull SchemaContextFactory |
createSchemaContextFactory(@NonNull SchemaSourceFilter filter)
Deprecated.
|
<T extends SchemaSourceRepresentation> |
getSchemaSource(@NonNull SourceIdentifier id,
@NonNull Class<T> represetation) |
@Deprecated @NonNull 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.@NonNull SchemaContextFactory createSchemaContextFactory(@NonNull SchemaContextFactoryConfiguration config)
SchemaContextFactory
with supplied configuration.config
- configuration of schema context factory.<T extends SchemaSourceRepresentation> @NonNull com.google.common.util.concurrent.ListenableFuture<T> getSchemaSource(@NonNull SourceIdentifier id, @NonNull Class<T> represetation)
Copyright © 2019 OpenDaylight. All rights reserved.