0 Replies Latest reply on Feb 15, 2008 7:43 PM by Tomas Cerny

    components.xml circular references

    Tomas Cerny Novice

      Hey I would need an advise:

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

      
      <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