Let's say your Seam component that contains this @Factory is session scoped;  
then you need to remove the current license from the session context.  Example:


  | public String persistAndContinue(){
  |     super.persist();
  |     Contexts.getSessionContext().remove("license");
  |     setInstance(new License());
  | }   
  | 

Hope that helps.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081417#4081417

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081417
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to