[
http://jira.jboss.com/jira/browse/JBSEAM-1076?page=all ]
Gavin King updated JBSEAM-1076:
-------------------------------
Fix Version/s: 1.3.1.BETA1
(was: 1.3.0.ALPHA)
@Synchronized does not work for any Spring managed Seam components
------------------------------------------------------------------
Key: JBSEAM-1076
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1076
Project: JBoss Seam
Issue Type: Bug
Components: Spring
Affects Versions: 1.2.0.GA
Reporter: Michael Youngstrom
Fix For: 1.3.1.BETA1
@Synchronized cannot be used with any spring managed seam components created using
<seam:component/>. The reason is if spring is managing the scope of the seam
component (singleton, prototype, custom) then the spring integration will make the
Component scope STATELESS so that seam will defer to spring everytime it requests an
instance of the object.
There is a check in the component constructor that @Synchronized cannot be used with
STATELESS components. It would be nice if this check could be removed to better support
non standard use of the STATELESS scope like the Spring integration and perhaps the
microcontainer integration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira