[ 
https://issues.apache.org/jira/browse/LOG4J2-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052421#comment-17052421
 ] 

Ralph Goers commented on LOG4J2-2783:
-------------------------------------

Applied the change to implement this but further testing related to LOG4J2-2795 
shows this may not be the best approach as loading all the plugin classes 
during startup impacts the startup time.

> PluginService should use a list of Class references instead of names
> --------------------------------------------------------------------
>
>                 Key: LOG4J2-2783
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2783
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Plugins
>    Affects Versions: 3.0.0
>            Reporter: Matt Sicker
>            Assignee: Ralph Goers
>            Priority: Major
>              Labels: 3.0
>             Fix For: 3.0.0
>
>
> The {{PluginService}} class can be updated to return a list of plugin entries 
> that refer directly to the {{Class<?>}} instances rather than their class 
> names. This would avoid the need to lazily load classes, avoids problems with 
> module systems, and prevents the use of optional dependencies which makes it 
> much easier to write proper JPMS-compatible modules.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to