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/12/23 13:44:13 UTC

[jira] [Updated] (WW-4443) Rename scope default to prototype

     [ https://issues.apache.org/jira/browse/WW-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-4443:
------------------------------
    Fix Version/s: 2.5

> Rename scope default to prototype
> ---------------------------------
>
>                 Key: WW-4443
>                 URL: https://issues.apache.org/jira/browse/WW-4443
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: 2.3.20
>            Reporter: Lukasz Lenart
>             Fix For: 2.5
>
>
> Internal DI mechanism uses {{default}} scope which is basically a prototype scope, but the default scope is {{singleton}} in Struts, thus leads to confusion and misconfiguration.
> It'd be better to use name {{prototype}} to clearly express its meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)