Skip to content

Embedding the manager

You are embedding PluginManager in a host you control, rather than installing a carrier. The manager gives you discovery, dependency ordering, isolation, and lifecycle; you supply the carrier services and drive start and stop.

  • Getting started — add the package and stand up a minimal host.
  • Carrier services — what the host must supply, and how loaders register.
  • Lifecycle — Load, Enable, Disable, Unload, Reload, component start and stop, and the status snapshot.
  • Events and callbacks — the event bus, the scheduler, reportFault, onRemoved.

Writing the plugins themselves is in Develop.