You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/06/12 05:46:20 UTC
[jira] [Closed] (LOG4J2-653) Add plugin builder classes as
alternative to factory methods.
[ https://issues.apache.org/jira/browse/LOG4J2-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Sicker closed LOG4J2-653.
------------------------------
Resolution: Fixed
Fix Version/s: 2.1
Good catch. The infrastructure for this has been in since at least 2.1, so I'll go ahead and close this.
> Add plugin builder classes as alternative to factory methods.
> -------------------------------------------------------------
>
> Key: LOG4J2-653
> URL: https://issues.apache.org/jira/browse/LOG4J2-653
> Project: Log4j 2
> Issue Type: Improvement
> Components: Plugins
> Reporter: Matt Sicker
> Assignee: Matt Sicker
> Labels: config
> Fix For: 2.1
>
>
> It would be useful to have builder-style classes as an alternative to plugin factory methods. This would be useful in two settings:
> # Easier to construct plugins in tests and in the code.
> # 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org