[
https://issues.apache.org/jira/browse/WW-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952968#comment-14952968
]
Hudson commented on WW-4443:
----------------------------
SUCCESS: Integrated in Struts-JDK7-master #371 (See
[https://builds.apache.org/job/Struts-JDK7-master/371/])
WW-4443 Renames scope DEFAULT into PROTOTYPE (lukaszlenart: rev
356b5c57b269e6ba7cfe267d4517e5f7a27ce200)
* core/src/main/java/com/opensymphony/xwork2/inject/Scope.java
*
core/src/main/java/com/opensymphony/xwork2/config/providers/XWorkConfigurationProvider.java
*
core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
* core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
* core/src/main/resources/struts-default.xml
* core/src/main/java/com/opensymphony/xwork2/inject/ContainerBuilder.java
> 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)