You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Yasser Zamani (JIRA)" <ji...@apache.org> on 2018/12/18 12:49:00 UTC
[jira] [Resolved] (WW-4938) ObjectFactory should use Container to
instantiate actions and inject dependencies
[ https://issues.apache.org/jira/browse/WW-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yasser Zamani resolved WW-4938.
-------------------------------
Resolution: Fixed
PR got merged. Nice improvement and it's test (y) I didn't aware internal di can do such injections! thanks!
> ObjectFactory should use Container to instantiate actions and inject dependencies
> ----------------------------------------------------------------------------------
>
> Key: WW-4938
> URL: https://issues.apache.org/jira/browse/WW-4938
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.6
>
>
> It isn't possible to define an action with a constructor and annotated with {{@Inject}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)