[ 
https://issues.apache.org/jira/browse/LOG4J2-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Sicker updated LOG4J2-1188:
--------------------------------
    Summary: Allow plugins to be created through more flexible dependency 
injection patterns  (was: Allow plugin builders to be created without static 
factory method)

> Allow plugins to be created through more flexible dependency injection 
> patterns
> -------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1188
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1188
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Plugins
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>            Priority: Major
>
> The use of the newBuilder() static method annotated with 
> {{@PluginBuilderFactory}}, while convenient, is unnecessary when constructing 
> plugins via configurations. This functionality should remain, but if a plugin 
> class has an inner class that implements {{Builder<T>}}, then that class can 
> be used without needing to specify it through another annotation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to