Uploaded image for project: 'Click'
  1. Click
  2. CLK-661

Add Java based configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      click.xml has grown over the years especially since we introduced the service based architecture. Some of the problems with xml based configurations is:

      • no compile time checking
      • no JavaDoc help in IDE

      I propose we add a new DefaultConfigService class that is Java based which XmlConfigService extends from.

      Its advantages is the polar opposite of xml disadvantage:

      • compile time checking
      • JavaDoc help in IDE
      • More powerful configuration options, e.g. its possible to configure FileUpload in ways not exposed by xml config. Also possible to create more powerful algorithms e.g. which templates to include/exclude.

      Attachments

        1. abstract-config-service2.patch
          160 kB
          Finn Bock
        2. abstract-config-service.patch
          102 kB
          Finn Bock
        3. defaultconfigservice.patch
          92 kB
          Finn Bock

        Activity

          People

            bckfnn Finn Bock
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: