1 Reply Latest reply on Aug 10, 2007 3:16 PM by pmuir

    Begin/End Conversation

    deved

      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() {
       }
      }