[jboss-user] [JBoss Seam] - Begin/End Conversation

deved do-not-reply at jboss.com
Fri Aug 10 15:09:16 EDT 2007


Is it possible to begin or end a long-running conversation manually?
MenuManager.java

  |   if (tableModel != null) {
  |      tableModel.end();
  |   }
  |   tableModel = (TableModel) Component.getInstance(beanName);
  |   tableModel.begin();
  | 
TableModel.java
@Name("tableModel")
  | @Conversational
  | @Scope(ScopeType.CONVERSATION)
  | public class TableModelBean {
  |   @Begin
  |   public void begin() {
  |   }
  |  @End  
  |   @Destroy
  |   public void end() {
  |   }
  | }

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

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



More information about the jboss-user mailing list