This interface is deprecated in favor of the DOMSchemaService
for the MD-SAL project.
Change-Id: Icff2cced791bc9fbf5bfadbe2f1cf2b949ff2d58
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
84f6c81afe8c53307dc9be8c39824ca4e4191819)
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
+/**
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMSchemaService} instead.
+ */
+@Deprecated
public interface SchemaService extends BrokerService {
/**
* Registers a YANG module to session and global context
public interface SchemaService extends BrokerService {
/**
* Registers a YANG module to session and global context
*/
void addModule(Module module);
/**
* Unregisters a YANG module from session context
*/
void addModule(Module module);
/**
* Unregisters a YANG module from session context
*/
void removeModule(Module module);
/**
* Returns session specific YANG schema context
*/
void removeModule(Module module);
/**
* Returns session specific YANG schema context
*/
SchemaContext getSessionContext();
/**
* Returns global schema context
*/
SchemaContext getSessionContext();
/**
* Returns global schema context
*/
SchemaContext getGlobalContext();
*/
SchemaContext getGlobalContext();
import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
import org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource;
public final class GlobalBundleScanningSchemaServiceImpl implements SchemaContextProvider, SchemaService,
YangTextSourceProvider, AutoCloseable {
public final class GlobalBundleScanningSchemaServiceImpl implements SchemaContextProvider, SchemaService,
YangTextSourceProvider, AutoCloseable {