[jboss-cvs] jboss-seam/src/main/org/jboss/seam ...
Gavin King
gavin.king at jboss.com
Sun Oct 15 18:43:01 EDT 2006
User: gavin
Date: 06/10/15 18:43:01
Modified: src/main/org/jboss/seam Component.java
Log:
auto-synchronize session scoped components
Revision Changes Path
1.192 +2 -2 jboss-seam/src/main/org/jboss/seam/Component.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Component.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -b -r1.191 -r1.192
--- Component.java 13 Oct 2006 16:34:30 -0000 1.191
+++ Component.java 15 Oct 2006 22:43:01 -0000 1.192
@@ -111,7 +111,7 @@
*
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @author Gavin King
- * @version $Revision: 1.191 $
+ * @version $Revision: 1.192 $
*/
@Scope(ScopeType.APPLICATION)
public class Component
@@ -213,7 +213,7 @@
dependencies = getBeanClass().getAnnotation(Startup.class).depends();
}
- synchronize = beanClass.isAnnotationPresent(Synchronized.class);
+ synchronize = scope==SESSION || beanClass.isAnnotationPresent(Synchronized.class);
if (synchronize)
{
if (scope==STATELESS)
More information about the jboss-cvs-commits
mailing list