Gets the current lifecycle phase.
Gets the lifecycle phase of a specific plugin.
The plugin name
The plugin's lifecycle phase
Initializes all contexts in dependency order. Contexts are initialized after plugins since they depend on infrastructure.
The DI container
The logger
Context configurations
Manages the lifecycle of plugins and contexts.
Handles initialization, startup, and shutdown in the correct order:
Example