2 Replies Latest reply on Jun 27, 2011 3:25 PM by Zak S

    How to destroy an object that was created via @Produces ?

    Craig  Newbie

      I have sessionContext bean that observes when a user logs in and then produces this user when other bean request injection.


      The user produced is session scope.


      Is there any way of destroying this so that when I swap to a new user (same observer method called) this new user is then produced?


      Thanks


      Craig