public class SchemaServiceProxy extends AbstractBrokerServiceProxy<SchemaService> implements SchemaService
Constructor and Description |
---|
SchemaServiceProxy(org.osgi.framework.ServiceReference<SchemaService> ref,
SchemaService delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addModule(org.opendaylight.yangtools.yang.model.api.Module module)
Registers a YANG module to session and global context
|
org.opendaylight.yangtools.yang.model.api.SchemaContext |
getGlobalContext()
Returns global schema context
|
org.opendaylight.yangtools.yang.model.api.SchemaContext |
getSessionContext()
Returns session specific YANG schema context
|
org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.yangtools.yang.model.api.SchemaContextListener> |
registerSchemaContextListener(org.opendaylight.yangtools.yang.model.api.SchemaContextListener listener)
Register a listener for changes in schema context.
|
void |
removeModule(org.opendaylight.yangtools.yang.model.api.Module module)
Unregisters a YANG module from session context
|
addRegistration, close, closeAfterUnregistrations, closeBeforeUnregistrations, getDelegate, getReference
public SchemaServiceProxy(org.osgi.framework.ServiceReference<SchemaService> ref, SchemaService delegate)
public void addModule(org.opendaylight.yangtools.yang.model.api.Module module)
SchemaService
addModule
in interface SchemaService
public void removeModule(org.opendaylight.yangtools.yang.model.api.Module module)
SchemaService
removeModule
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 org.opendaylight.yangtools.yang.model.api.SchemaContext getGlobalContext()
SchemaService
getGlobalContext
in interface SchemaService
getGlobalContext
in interface org.opendaylight.mdsal.dom.api.DOMSchemaService
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 registeredCopyright © 2019 OpenDaylight. All rights reserved.