Menu

Non-singleton in faces-spring-config bug?

Users
2005-08-03
2013-04-08
  • Kalle Korhonen

    Kalle Korhonen - 2005-08-03

    If I define a bean in faces-spring-config as singleton="false", scope managed and set to session by JSF by defining the same bean as SpringBeanScope class in faces-config, the bean is always re-created as if its scope was request. It works as expected (bean scope is session) if I define the same bean in applicationContext.xml instead. Is this a bug or feature and if a feature, is it possible to change this behaviour in a future release? Running Spring 3.0.0M1, Spring 1.2 and MyFaces 1.09 2005-07-25.

     
    • Andreas Kuhrwahl

      It's a bug. We will check it an try to fix the problem with the next release.

       
      • Kalle Korhonen

        Kalle Korhonen - 2005-08-04

        Perfect. Thanks a lot for quick answer.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.