[jboss-user] [JBoss Seam] - Ending multiple nested conversations?

antispart do-not-reply at jboss.com
Wed Dec 6 12:37:17 EST 2006


I'd like a call to endNested1() to kill all 3 nested conversations if the if() statement evaluates to true for all 3 methods.

What I find is happening though is that only the most nested (deepest) conversation gets killed even though Conversation.instance().end(); is being called 3 times.

Is there a way to make this work?

public void endNested1() {
  |    endNested2();
  | 
  |    if () 
  |       Conversation.instance().end();
  | }
  | 
  | public void endNested2() {
  |    endNested3();
  |    if () 
  |       Conversation.instance().end();
  | }
  | 
  | public void endNested3() {
  |    Conversation.instance().end();
  | }

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991724



More information about the jboss-user mailing list