[
https://issues.apache.org/jira/browse/WW-5293?focusedWorklogId=850467&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-850467
]
ASF GitHub Bot logged work on WW-5293:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Mar/23 10:28
Start Date: 12/Mar/23 10:28
Worklog Time Spent: 10m
Work Description: kusalk opened a new pull request, #668:
URL: https://github.com/apache/struts/pull/668
WW-5293
--
I've split XmlConfigurationProvider into a superclass
XmlDocsConfigurationProvider. The original XmlConfigurationProvider now extends
XmlDocsConfigurationProvider to provide filesystem specific loading
functionality. The new XmlDocsConfigurationProvider can be instantiated on its
own by feeding in a parsed XML document directly.
Additionally:
- Deprecated some old constructors/methods so that they can be safely
deleted in Struts 7.0
- Allowed greater flexibility in subclassing by splitting the build
action/interceptor/result configs into their own methods
- Fixed a minor existing bug where `#registerBeanSelection` did not respect
the ObjectFactory configured class loader
- Fixed a minor bug introduced in #657 where an unhandled exception is
thrown when calling `#loadPackages` of an XmlConfigurationProvider of an
already loaded XML file
Issue Time Tracking
-------------------
Worklog Id: (was: 850467)
Remaining Estimate: 0h
Time Spent: 10m
> Allow loading XML configuration from other than filesystem
> ----------------------------------------------------------
>
> Key: WW-5293
> URL: https://issues.apache.org/jira/browse/WW-5293
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Reporter: Kusal Kithul-Godage
> Priority: Minor
> Fix For: 6.2.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Split the filesystem functionality from XmlConfigurationProvider so that we
> can load XML documents directly.
> Also allow greater flexibility in subclassing by splitting the build
> action/interceptor/result configs into their own methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)