Populate model/ hierarchy
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / SchemaContextListener.java
1 /*
2  * Copyright (c) 2014 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.yangtools.yang.model.api;
9
10 import java.util.EventListener;
11
12 /**
13  * Interface for listeners interested in updates of the global schema context.
14  * The global schema context reflects the global view of the model world, and
15  * all entities interacting at the global scale need to maintain a consistent
16  * view of that world.
17  */
18 public interface SchemaContextListener extends EventListener {
19     /**
20      * The global schema context is being updated.
21      * @param context New global schema context
22      */
23     void onGlobalContextUpdated(SchemaContext context);
24 }