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
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.