Bug 5403 - Support yang-library schema resolution
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / common / handlers / api / SchemaContextHandler.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.restconf.common.handlers.api;
9
10 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
11 import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
12
13 /**
14  * Handling schema context:
15  * <ul>
16  * <li>Retention
17  * <li>Update
18  * </ul>
19  */
20 public interface SchemaContextHandler extends SchemaContextListener {
21
22     /**
23      * Get the {@link SchemaContext}.
24      *
25      * @return {@link SchemaContext}
26      */
27     SchemaContext getSchemaContext();
28 }