commit | 97e4d1aee88b66844203e879a15d85b17646baf7 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Mon Jul 31 14:25:48 2017 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Mon Jul 31 14:25:48 2017 -0700 |
tree | 0af375db82ad40be4425d86cb165cb1426b11f7a | |
parent | c307d2125101b8ce7c9011e95eae9ad341c861c7 [diff] |
Adding a small hack to allow resolving model specific resources against the class-loader of the model. Change-Id: I01aef3b4f1b2c0bd9101f66125e860ab615eb672
diff --git a/apps/yang/src/main/java/org/onosproject/yang/YangClassLoaderRegistry.java b/apps/yang/src/main/java/org/onosproject/yang/YangClassLoaderRegistry.java index 7198346..321aa72 100644 --- a/apps/yang/src/main/java/org/onosproject/yang/YangClassLoaderRegistry.java +++ b/apps/yang/src/main/java/org/onosproject/yang/YangClassLoaderRegistry.java
@@ -20,7 +20,9 @@ /** * Auxiliary mechanism for resolving model IDs into class-loaders from where - * the model was registered. + * the model was registered to allow access to model-specific resources. + * + * Note: Consider promoting this to ONOS YANG Tools repo. */ @Beta public interface YangClassLoaderRegistry {