Class ScanningSchemaServiceProvider

    • Constructor Detail

      • ScanningSchemaServiceProvider

        public ScanningSchemaServiceProvider()
    • Method Detail

      • tryToUpdateSchemaContext

        public void tryToUpdateSchemaContext()
      • notifyListeners

        public void notifyListeners​(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
      • registerAvailableYangs

        public List<org.opendaylight.yangtools.concepts.Registration> registerAvailableYangs​(List<URL> yangs)
      • removeListener

        public void removeListener​(org.opendaylight.yangtools.yang.model.api.SchemaContextListener schemaContextListener)
      • hasListeners

        public boolean hasListeners()
      • getGlobalContext

        public org.opendaylight.yangtools.yang.model.api.SchemaContext getGlobalContext()
        Description copied from interface: DOMSchemaService
        Returns global schema context.
        Specified by:
        getGlobalContext in interface DOMSchemaService
        Returns:
        schemaContext
      • registerSchemaContextListener

        public org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> registerSchemaContextListener​(org.opendaylight.yangtools.yang.model.api.SchemaContextListener listener)
        Description copied from interface: DOMSchemaService
        Register a listener for changes in schema context.
        Specified by:
        registerSchemaContextListener in interface DOMSchemaService
        Parameters:
        listener - Listener which should be registered
        Returns:
        Listener registration handle
      • getSource

        public ListenableFuture<? extends org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource> getSource​(org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier sourceIdentifier)
        Specified by:
        getSource in interface org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider<org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource>