1 Reply Latest reply on Nov 21, 2006 10:24 AM by Ales Justin

    ControllerState Details ...

    Vicky Kak Master

       

      public AbstractController() throws Exception
       {
       addState(ControllerState.NOT_INSTALLED, null);
       addState(ControllerState.DESCRIBED, null);
       addState(ControllerState.INSTANTIATED, null);
       addState(ControllerState.CONFIGURED, null);
       addState(ControllerState.CREATE, null);
       addState(ControllerState.START, null);
       addState(ControllerState.INSTALLED, null);
       }
      

      Can I get some description about the above specified states ?
      Normally I would have expected CREATE,START,STOP,DESTROY states . The default one being the NOT_INSTALLED .
      Do we have some wiki explaining this ?
      The above code is from the dependency module AbstractController class .



        • 1. Re: ControllerState Details ...
          Ales Justin Master

           

          "vickyk" wrote:
          Can I get some description about the above specified states ?


          What more do you need?
          The names tell it all.

          "vickyk" wrote:

          Normally I would have expected CREATE,START,STOP,DESTROY states .

          Ok, the first two you have.
          And when you go back over those two you are actually stopping and destroying.

          "vickyk" wrote:
          The default one being the NOT_INSTALLED .


          Inital context also has to have a state.

          ps: look me up at JBW for more details