Make it easier to extend XmlConfigurationProvider
-------------------------------------------------
Key: WW-2245
URL: https://issues.apache.org/struts/browse/WW-2245
Project: Struts 2
Issue Type: Improvement
Reporter: John Lindal
The only way that I have found to extend
org.apache.struts2.config.StrutsXmlConfigurationProvider to construct a derived
class of ActionConfig is to override addAction(). Unfortunately, this requires
copying the existing function from XmlConfigurationProvider. It would be nice
if addAction() used a protected factory method to construct the ActionConfig
object, e.g.,
protected ActionConfig constructActionConfig(actionElement, packageContext,
methodName, className, results);
With this factory method, I would not have to copy any code out of
XmlConfigurationProvider.
Of course, if I missed something, please let me know :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.