Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2569

Allow Tapestry to NOT load default modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.0.14
    • None
    • tapestry-core
    • None

    Description

      Normally, Tapestry loads all visible modules, using the IOCUtilities.addDefaultModules().

      It would be nice to make this optional, so that it would be possible to re-use code from (say) tapestry-hibernate without loading all of the tapestry-hibernate services.

      This could be configured inside web.xml using a config value, say, tapestry.load-default-modules.

      Most likely, the application's module would use @SubModule to load the modules it needs.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: