struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4443) Rename scope default to prototype
Date Thu, 18 Jun 2015 09:54:01 GMT

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

Lukasz Lenart resolved WW-4443.
-------------------------------
    Resolution: Fixed

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

Mime
View raw message