Home

Castle Stronghold

Component registration flow

When a component is registered on the MicroKernel, a chain of actions happens:

  1. A new ComponentModel is created for the component
    • All registered contributors have a change to change or add something to the ComponentModel
  2. A new Handler is requested from the HandlerFactory
  3. The new handler checks the ComponentModel information and:
    • Creates the ComponentActivator
    • Creates the LifestyleManager
    • Starts the check for the minimal set of dependencies

If the minimal set of dependencies are not reachable, the handler sets its state to WaitingDependency and returns.

Google
Search WWW Search castleproject.org