On 1/31/13 2:39 PM, "Frank Zhang" <frank.zh...@citrix.com> wrote:

>I saw below definitions:
>
>       public static final int RUN_LEVEL_SYSTEM_BOOTSTRAP = 0;         // for 
> system
>level bootstrap components
>       public static final int RUN_LEVEL_SYSTEM = 1;                           
> // for system level
>service components (i.e., DAOs)
>       public static final int RUN_LEVEL_FRAMEWORK_BOOTSTRAP = 2;      // for
>framework startup checkers (i.e., DB migration check)
>       public static final int RUN_LEVEL_FRAMEWORK = 3;                        
> // for framework
>bootstrap components(i.e., clustering management components)
>       public static final int RUN_LEVEL_COMPONENT_BOOTSTRAP = 4;      // 
> general
>manager components
>       public static final int RUN_LEVEL_COMPONENT = 5;                        
> // regular adapters,
>plugin components
>       public static final int RUN_LEVEL_APPLICATION_MAINLOOP = 6;
>       public static final int MAX_RUN_LEVELS = 7;
>
>
>what are they for? Is it load order?


Yes, it basically gives the start up order in a relatively generic way. So
that components can participate lifecycle process in a relatively
independent way.

-Kelven



>

Reply via email to