[
https://issues.apache.org/jira/browse/WW-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245635#comment-13245635
]
Hudson commented on WW-3636:
----------------------------
Integrated in Struts2 #443 (See [https://builds.apache.org/job/Struts2/443/])
WW-3636 adds className parameter to @Action annotation, can be useful when
used with Spring Framework to instantiate actions (Revision 1309089)
Result = SUCCESS
lukaszlenart :
Files :
*
/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java
*
/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Action.java
*
/struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java
*
/struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/actions/action/ClassNameAction.java
> New "class" or "className" property for Action annotation.
> ----------------------------------------------------------
>
> Key: WW-3636
> URL: https://issues.apache.org/jira/browse/WW-3636
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - Convention
> Environment: System any, Struts2 (2.2.3) + Convention Plugin (2.2.3)
> + Spring Plugin (2.2.3) + Spring 3.0.5.REALESE
> Reporter: Tigran Babloyan
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.3.2
>
> Attachments: Acction-Patch.txt, Action.java,
> PackageBasedActionConfigBuilder-Patch.txt,
> PackageBasedActionConfigBuilder.java
>
>
> It would be nice to have "class" or "className" property for Action
> annotation as for now all ActionConfig's are created with real class name
> value, which makes it hard to use plugin while using custom Object Factory
> (for example Spring) as you are forced to name your bean with fully qualified
> names (class name).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira