2 Replies Latest reply on Nov 27, 2006 6:31 AM by vickyk

    ControllerStates sequential flow for dependent Contexts ?

    vickyk

      I have though of a scenario and wanted to confirm if this is correct ?
      Let us consider that I have a contexts as
      A,iDOA(I depend on A),aDOM(A depend on Me) .
      Let me put few more as

      aDOM1,aDOM2,A,iDOA1,iDOA2

      Controller States being defned here are as S,S1 and S2.
      So when the controller installs the context A with the final state as S2 , dependent contexts of A ie iDOA1 and iDOA2 will first be passed to S2 . Once this is done then only the context A will propagate to S2 state.
      So the sequential flow could be like this

      iDOA1------------------->S
      iDOA1---------->S1
      iDOA1---------->S2
      iDOA2---------->S
      iDOA2---------->S1
      iDOA2---------->S2
      A -----------> S
      A ------------> S1
      A ------------------------> S2
      

      Or the intermediate contexts installation are as
      iDOA1 ------------------->S
      iDOA2 -------->S
      A-------------->S
      iDOA1 -------->S1
      iDOA2 -------->S1
      A-------------->S1
      iDOA1 -------->S2
      iDOA2 -------->S2
      A------------------------->S2
      

      The later one looks correct to me . Meanwhile let me dig the code too .