Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-653

Add plugin builder classes as alternative to factory methods.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • Plugins

    Description

      It would be useful to have builder-style classes as an alternative to plugin factory methods. This would be useful in two settings:

      1. Easier to construct plugins in tests and in the code.
      2. Can add annotations to fields for value injection in the PluginBuilder class.

      This could replace the existing factory methods, or it could complement it. This would also make it easier to support programmatic configuration.

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: