Interface BootstrapContext

All Superinterfaces:
LifecycleEventOwner, PluginProviderContext

@Experimental @NonExtendable public interface BootstrapContext extends PluginProviderContext, LifecycleEventOwner
Represents the context provided to a PluginBootstrap during both the bootstrapping and plugin instantiation logic. A bootstrap context may be used to access data or logic usually provided to Plugin instances like the plugin's configuration or logger during the plugins bootstrap.
  • Method Details

    • getLifecycleManager

      LifecycleEventManager<BootstrapContext> getLifecycleManager()
      Get the lifecycle event manager for registering handlers for lifecycle events allowed on the BootstrapContext.
      Returns:
      the lifecycle event manager