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

Allow Tapestry to NOT load default modules

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.0.14
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: