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

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Thu Aug 2 04:09:07 EDT 2012


Marek Schmidt created JBSEAM-5006:
-------------------------------------

             Summary: 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