Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-20

Externalize modules import/export and wiring definitions

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta2
    • None
    • None
    • None

      Currently the ModuleXMLParser expects resources to be available on the file system. Clients currently call this API

      static ModuleSpec parse(final ModuleIdentifier identifier, final File root, final File moduleInfoFile) throws ModuleLoadException

      We already have an abstraction of a ResourceLoader.

      It would be possible to provide a parser API that is agnostic of how to create ResourceLoaders. Instead the parser could be given a

      public interface ResourceLoaderFactory

      { ResourceLoader getResourceLoader(String path, String name) throws IOException; }

              dlloyd@redhat.com David Lloyd
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: