]
Kabir Khan resolved WFCORE-3097.
--------------------------------
Fix Version/s: 3.0.0.Beta29
Resolution: Done
Subsystem xml writers should be lazy created when needed
--------------------------------------------------------
Key: WFCORE-3097
URL:
https://issues.jboss.org/browse/WFCORE-3097
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 3.0.0.Beta29
Currently subsystemWriter is registered up-front with instance of writer.
But in most scenarios that uses use server in production, writers are never even used as
they only marshal configuration when it is changed via mgmt api, otherwise there is no
need for them to be even initiated.
We should be able to do similar as we did with parsers when they are only created when
needed and after their usage they are GC-able.