[
https://issues.apache.org/struts/browse/WW-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-2775.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
2.1.7
fair enough. patch applied, thanks!
> Make the decision on whether or not a Class can be instantiated overridable
> by subclasses
> -----------------------------------------------------------------------------------------
>
> Key: WW-2775
> URL: https://issues.apache.org/struts/browse/WW-2775
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Convention
> Reporter: Richard Wallace
> Priority: Minor
> Fix For: 2.1.7
>
> Attachments: instatiation-check.diff
>
>
> In the PackageBasedActionConfigBuilder a check is done to see if a found
> Action class is abstract, an interface, an enum or an annotation. I would
> like to see this check moved to a protected method that can be overridden as
> there are some cases where it might be quite alright to have an interface be
> used for the action. And as long as the ObjectFactory used is able to
> instantiate an Action for it, that should really be all that matters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.