Update YangModuleInfo and its implementations 42/4842/4
authorRobert Varga <rovarga@cisco.com>
Mon, 27 Jan 2014 06:57:29 +0000 (07:57 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 27 Jan 2014 07:46:17 +0000 (08:46 +0100)
commit5f8712871e1b8546875f66b5b6a2b5e7c285af8c
tree1cb82edd16e310ba87b98ad07ae93386b74f9ad0
parente448a3e52055a47d4858310d59c5ada2844b05c7
Update YangModuleInfo and its implementations

- Use Set, not ImmutableSet in return
- getModuleSourceStream() throws IOException when it fails to find the
  resource
- Force instantiation of imported modules on class load
- Force a call to getModuleSourceStream() on class load

Change-Id: I4f5454d92c049cecc834b37ef14784d70b036a8c
Signed-off-by: Robert Varga <rovarga@cisco.com>
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/YangModuleInfoTemplate.xtend
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/YangModuleInfo.java