struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4938) ObjectFactory should use Container to instantiate actions and inject dependencies
Date Tue, 18 Dec 2018 12:26:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724001#comment-16724001
] 

ASF subversion and git services commented on WW-4938:
-----------------------------------------------------

Commit 699f5d6c79ec12978c6fa33ea4e8b5cef70c616f in struts's branch refs/heads/master from
[~lukaszlenart]
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=699f5d6 ]

[WW-4938] Uses container to create an instance of the class (#295)

* WW-4938 Uses container to create an instance of the class

* WW-4938 Adds a test to proof that @Inject works on constructor

* WW-4938 Adds missing header

* Update core/src/test/java/com/opensymphony/xwork2/mock/InjectableAction.java

Co-Authored-By: lukaszlenart <lukasz.lenart@gmail.com>

* Update core/src/test/java/com/opensymphony/xwork2/mock/DummyTextProvider.java

Co-Authored-By: lukaszlenart <lukasz.lenart@gmail.com>


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

Mime
View raw message