dae067a908fe48b810b9953ad4a15f12a7833d1f
[mdsal.git] / binding2 / mdsal-binding2-spec / src / main / java / org / opendaylight / mdsal / binding2 / spec / YangModelBindingProvider.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
9 package org.opendaylight.mdsal.binding2.spec;
10
11 import java.util.ServiceLoader;
12
13 /**
14  *
15  * Provider of YangModuleInfo for specified package / model.
16  *
17  * Implementation of this interface should be discoverable
18  * via {@link ServiceLoader}
19  *
20  */
21 public interface YangModelBindingProvider {
22
23     /**
24      * YangModuleInfo associated to package
25      *
26      * @return YangModuleInfo
27      */
28     YangModuleInfo getModuleInfo();
29
30 }