Class OSGiDOMSchemaService
java.lang.Object
org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService.WithYangTextSources
org.opendaylight.mdsal.dom.schema.osgi.impl.OSGiDOMSchemaService
- All Implemented Interfaces:
DOMExtensibleService<DOMSchemaService,
,DOMSchemaServiceExtension> DOMSchemaService
,DOMSchemaServiceExtension
,DOMService
,DOMServiceExtension<DOMSchemaService,
,DOMSchemaServiceExtension> DOMYangTextSourceProvider
,EffectiveModelContextProvider
,SchemaSourceProvider<YangTextSchemaSource>
OSGi Service Registry-backed implementation of
DOMSchemaService
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
AbstractDOMSchemaService.WithYangTextSources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull EffectiveModelContext
Returns global schema context.ListenableFuture<? extends YangTextSchemaSource>
getSource
(SourceIdentifier sourceIdentifier) Register a listener for changes in schema context.Methods inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService.WithYangTextSources
getExtensions
Methods inherited from class org.opendaylight.mdsal.dom.spi.AbstractDOMSchemaService
getEffectiveModelContext
-
Constructor Details
-
OSGiDOMSchemaService
public OSGiDOMSchemaService()
-
-
Method Details
-
getGlobalContext
Description copied from interface:DOMSchemaService
Returns global schema context.- Returns:
- schemaContext
-
registerSchemaContextListener
Description copied from interface:DOMSchemaService
Register a listener for changes in schema context.- Parameters:
listener
- Listener which should be registered- Returns:
- Listener registration handle
-
getSource
public ListenableFuture<? extends YangTextSchemaSource> getSource(SourceIdentifier sourceIdentifier)
-