[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1076) @Synchronized does not work for any Spring managed Seam components

Gavin King (JIRA) jira-events at lists.jboss.org
Thu Jun 14 01:36:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1076?page=all ]

Gavin King closed JBSEAM-1076.
------------------------------

    Resolution: Done
      Assignee: Gavin King

> @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
>         Assigned To: Gavin King
>             Fix For: 1.3.0.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

        



More information about the seam-issues mailing list