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

Allow plugins to be created through more flexible dependency injection patterns

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Plugins
    • None

    Description

      Plugin builders were introduced long ago as a way to configure plugin instances while also maintaining a backward-compatible way to evolve the API of a plugin. While this has been useful, there are other ways that would be nice to make a plugin dependency injectable.

      This should allow for an @Inject constructor to be used along with supporting zero or more arguments in each @Inject method.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment