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

Support more data types in plugin attributes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 2.0-rc1
    • 2.0-rc2
    • Core

    Description

      Currently, annotating plugin factory method parameters with @PluginAttribute only supports String types, but we use a lot of plugin attributes that could be automatically converted to primitive types. Now I'm not suggesting something as advanced as how Camel handles parameter injection (which does automatic non-trivial type conversion), but it would be great to support booleans, ints, longs, etc., to simplify quite a bit of extraneous string parsing.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: