Skip to content

Extensions / kernel lifecycle #93

Description

@andrus

Let's expand kernel and extensions API to provide start / stop events, and make sure they are aligned with each other.

  1. Add Extension.uninstall(BaseKernel) - allows the kernel to shutdown extensions. This is especially useful in unit tests when multiple kernels can be created and stopped. It will allow the extensions to reset their statics.
  2. Add BaseKernel.onStartup(..) (in addition to the existing onShutdown(..)). This would allow to separate loading extensions from kernel constructor
  3. Load and "install" extensions in onStartup(..)
  4. Uninstall extensions in onShutdown(..)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions