@Deprecated public final class GlobalBundleScanningSchemaServiceImpl extends Object implements org.opendaylight.yangtools.yang.model.api.SchemaContextProvider, SchemaService, YangTextSourceProvider, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
addModule(org.opendaylight.yangtools.yang.model.api.Module module)
Deprecated.
Registers a YANG module to session and global context
|
void |
close()
Deprecated.
|
static GlobalBundleScanningSchemaServiceImpl |
createInstance(org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService)
Deprecated.
|
org.opendaylight.yangtools.yang.model.api.SchemaContext |
getGlobalContext()
Deprecated.
Returns global schema context
|
org.opendaylight.yangtools.yang.model.api.SchemaContext |
getSchemaContext()
Deprecated.
|
org.opendaylight.yangtools.yang.model.api.SchemaContext |
getSessionContext()
Deprecated.
Returns session specific YANG schema context
|
com.google.common.util.concurrent.CheckedFuture<org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource,org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException> |
getSource(org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier sourceIdentifier)
Deprecated.
|
org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> |
registerSchemaContextListener(org.opendaylight.yangtools.yang.model.api.SchemaContextListener listener)
Deprecated.
Register a listener for changes in schema context.
|
void |
removeModule(org.opendaylight.yangtools.yang.model.api.Module module)
Deprecated.
Unregisters a YANG module from session context
|
public static GlobalBundleScanningSchemaServiceImpl createInstance(org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService)
public org.opendaylight.yangtools.yang.model.api.SchemaContext getSchemaContext()
getSchemaContext
in interface org.opendaylight.yangtools.yang.model.api.SchemaContextProvider
public org.opendaylight.yangtools.yang.model.api.SchemaContext getGlobalContext()
SchemaService
getGlobalContext
in interface SchemaService
getGlobalContext
in interface org.opendaylight.mdsal.dom.api.DOMSchemaService
public void addModule(org.opendaylight.yangtools.yang.model.api.Module module)
SchemaService
addModule
in interface SchemaService
public org.opendaylight.yangtools.yang.model.api.SchemaContext getSessionContext()
SchemaService
getSessionContext
in interface SchemaService
getSessionContext
in interface org.opendaylight.mdsal.dom.api.DOMSchemaService
public void removeModule(org.opendaylight.yangtools.yang.model.api.Module module)
SchemaService
removeModule
in interface SchemaService
public org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> registerSchemaContextListener(org.opendaylight.yangtools.yang.model.api.SchemaContextListener listener)
SchemaService
registerSchemaContextListener
in interface SchemaService
registerSchemaContextListener
in interface org.opendaylight.mdsal.dom.api.DOMSchemaService
listener
- Listener which should be registeredpublic void close()
close
in interface AutoCloseable
public com.google.common.util.concurrent.CheckedFuture<org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource,org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException> getSource(org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier sourceIdentifier)
getSource
in interface org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceProvider<org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource>
Copyright © 2019 OpenDaylight. All rights reserved.