[
https://issues.apache.org/struts/browse/WW-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Brown updated WW-2245:
--------------------------
Fix Version/s: (was: 2.1.4)
2.1.3
> Make it easier to extend XmlConfigurationProvider
> -------------------------------------------------
>
> Key: WW-2245
> URL: https://issues.apache.org/struts/browse/WW-2245
> Project: Struts 2
> Issue Type: Improvement
> Components: XML Configuration
> Reporter: John Lindal
> Priority: Minor
> Fix For: 2.1.3
>
>
> 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.