Class OsgiBundleScanningSchemaService
- java.lang.Object
-
- org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
-
- org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService.WithYangTextSources
-
- org.opendaylight.mdsal.dom.broker.schema.ScanningSchemaServiceProvider
-
- org.opendaylight.mdsal.dom.schema.service.osgi.OsgiBundleScanningSchemaService
-
- All Implemented Interfaces:
AutoCloseable
,DOMExtensibleService<DOMSchemaService,DOMSchemaServiceExtension>
,DOMSchemaService
,DOMSchemaServiceExtension
,DOMService
,DOMServiceExtension<DOMSchemaService,DOMSchemaServiceExtension>
,DOMYangTextSourceProvider
,org.opendaylight.yangtools.yang.model.api.SchemaContextProvider
,org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider<org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource>
,org.osgi.util.tracker.ServiceTrackerCustomizer<org.opendaylight.yangtools.yang.model.api.SchemaContextListener,org.opendaylight.yangtools.yang.model.api.SchemaContextListener>
public final class OsgiBundleScanningSchemaService extends ScanningSchemaServiceProvider implements org.osgi.util.tracker.ServiceTrackerCustomizer<org.opendaylight.yangtools.yang.model.api.SchemaContextListener,org.opendaylight.yangtools.yang.model.api.SchemaContextListener>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
AbstractDOMSchemaService.WithYangTextSources
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.model.api.SchemaContextListener
addingService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference)
static @NonNull OsgiBundleScanningSchemaService
createInstance(org.osgi.framework.BundleContext ctx)
static void
destroyInstance()
org.osgi.framework.BundleContext
getContext()
static OsgiBundleScanningSchemaService
getInstance()
void
modifiedService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference, org.opendaylight.yangtools.yang.model.api.SchemaContextListener service)
void
removedService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference, org.opendaylight.yangtools.yang.model.api.SchemaContextListener service)
-
Methods inherited from class org.opendaylight.mdsal.dom.broker.schema.ScanningSchemaServiceProvider
close, getGlobalContext, getSource, hasListeners, notifyListeners, registerAvailableYangs, registerSchemaContextListener, removeListener, tryToUpdateSchemaContext
-
Methods inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService.WithYangTextSources
getExtensions
-
Methods inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
getSchemaContext, getSessionContext
-
-
-
-
Method Detail
-
createInstance
public static @NonNull OsgiBundleScanningSchemaService createInstance(org.osgi.framework.BundleContext ctx)
-
getInstance
public static OsgiBundleScanningSchemaService getInstance()
-
destroyInstance
public static void destroyInstance()
-
getContext
public org.osgi.framework.BundleContext getContext()
-
addingService
public org.opendaylight.yangtools.yang.model.api.SchemaContextListener addingService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference)
- Specified by:
addingService
in interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.opendaylight.yangtools.yang.model.api.SchemaContextListener,org.opendaylight.yangtools.yang.model.api.SchemaContextListener>
-
modifiedService
public void modifiedService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference, org.opendaylight.yangtools.yang.model.api.SchemaContextListener service)
- Specified by:
modifiedService
in interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.opendaylight.yangtools.yang.model.api.SchemaContextListener,org.opendaylight.yangtools.yang.model.api.SchemaContextListener>
-
removedService
public void removedService(org.osgi.framework.ServiceReference<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> reference, org.opendaylight.yangtools.yang.model.api.SchemaContextListener service)
- Specified by:
removedService
in interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.opendaylight.yangtools.yang.model.api.SchemaContextListener,org.opendaylight.yangtools.yang.model.api.SchemaContextListener>
-
-