[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1076) @Synchronized does not work for any Spring managed Seam components
Michael Youngstrom (JIRA)
jira-events at lists.jboss.org
Mon Mar 19 14:57:42 EDT 2007
@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.2.1.GA
@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
More information about the seam-issues
mailing list