[jboss-jira] [JBoss JIRA] (WFCORE-1861) Subsystem parsers should be created lazily when needed
Tomaz Cerar (JIRA)
issues at jboss.org
Mon Oct 10 10:27:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar moved STXM-16 to WFCORE-1861:
-----------------------------------------
Project: WildFly Core (was: StAXMapper)
Key: WFCORE-1861 (was: STXM-16)
Workflow: GIT Pull Request workflow (was: classic default workflow)
> Subsystem parsers should be created lazily when needed
> ------------------------------------------------------
>
> Key: WFCORE-1861
> URL: https://issues.jboss.org/browse/WFCORE-1861
> Project: WildFly Core
> Issue Type: Enhancement
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
>
> Currently when we register parsers for different versions of subsystem schema we always pass over instance of whole parser which is usually statically initialized.
> In practice legacy (non current) parsers are only used rarely and there is no point in having them loaded in memory when not needed.
> Impl should be based on provider pattern and as such also allow us to on demand create new instance of parser when needed, as well as enable us for parsers to be GCed, when they are not in use.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list