Class AbstractSchemaRepository

  • All Implemented Interfaces:
    org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository, SchemaSourceRegistry

    @Beta
    public abstract class AbstractSchemaRepository
    extends Object
    implements org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository, SchemaSourceRegistry
    Abstract base class for SchemaRepository implementations. It handles registration and lookup of schema sources, subclasses need only to provide their own SchemaRepository.createEffectiveModelContextFactory() implementation.
    • Constructor Detail

      • AbstractSchemaRepository

        public AbstractSchemaRepository()
    • Method Detail

      • getSchemaSource

        public <T extends org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation> com.google.common.util.concurrent.ListenableFuture<T> getSchemaSource​(org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier id,
                                                                                                                                                                           Class<T> representation)
        Specified by:
        getSchemaSource in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository