4 Replies Latest reply on Feb 18, 2008 6:58 PM by enda

    components.xml circular references

    enda

      Hey I would need an advise:


      Can I do in Seam components.xml something like this:


      Code:



      <component name="userSecurityService" 
                        class="edu.my.service.export.impl.userSecurityServiceImpl"
                        scope="application">
                 <property name="serviceLocator">#{serviceLocator}</property>
      </component>
      
      <component name="serviceLocator" 
                   class="edu.my.service.ServiceLocator"
                   scope="application">
            <property name="userSecurityService">#{userSecurityService}</property>
      </component>
           
      



      I am receiving stack overflow on container when hit the server.


      Spring can handle this.


      Thanks