You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/08/21 21:33:15 UTC
[jira] [Closed] (WW-3901) Review usage of Container and switch to
ObjectFactory instead
[ https://issues.apache.org/jira/browse/WW-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-3901.
-----------------------------
Resolution: Won't Fix
It isn't so simple to switch from {{Container}} to {{ObjectFactory}} as the later doesn't allow named aliases
> Review usage of Container and switch to ObjectFactory instead
> -------------------------------------------------------------
>
> Key: WW-3901
> URL: https://issues.apache.org/jira/browse/WW-3901
> Project: Struts 2
> Issue Type: Improvement
> Components: Value Stack
> Affects Versions: 2.3.7
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.3.18
>
>
> It is better to use ObjectFactory to construct new objects instead using Container - ObjectFactory has many other implementations (Spring, Guice) and Container doesn't.
--
This message was sent by Atlassian JIRA
(v6.2#6252)