[seam-issues] [JBoss JIRA] (JBSEAM-5006) Warn on @Synchronized SFSB

Marek Novotny (JIRA) jira-events at lists.jboss.org
Wed Aug 8 14:30:06 EDT 2012


     [ https://issues.jboss.org/browse/JBSEAM-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotny resolved JBSEAM-5006.
-----------------------------------

    Resolution: Done


a warning was added when @Stateful and @Synchronized is on the Seam component
                
> Warn on @Synchronized SFSB
> --------------------------
>
>                 Key: JBSEAM-5006
>                 URL: https://issues.jboss.org/browse/JBSEAM-5006
>             Project: Seam 2
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.3.0.BETA2
>            Reporter: Marek Schmidt
>            Assignee: Marek Novotny
>             Fix For: 2.3.0.CR1
>
>
> The SynchronizationInterceptor currently contains 
> {code}
> public boolean isInterceptorEnabled()
>    {
>       // JBSEAM-4943
>       return getComponent().isSynchronize() && getComponent().getType() != ComponentType.STATEFUL_SESSION_BEAN;
>    }
> {code}
> The logic should be moved to the Component.initSynchronize method and a warning should be generated telling the developer that the annotation is being ignored if the @Synchronized annotation is present and the component is a SFSB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list