Class ExtensionManager


  • public class ExtensionManager
    extends Object
    The ExtensionManager handles the kernel extensions.
    Author:
    Pierre Thirouin <pierre.thirouin@ext.mpsa.com>
    • Constructor Detail

      • ExtensionManager

        public ExtensionManager​(Collection<Plugin> fetchedPlugins,
                                ClassLoader contextClassLoader)
        Constructor.
        Parameters:
        fetchedPlugins - the plugin list
        contextClassLoader - the context classloader
    • Method Detail

      • initializing

        public void initializing()
        Notifies the extensions that the kernel is initializing
      • initialized

        public void initialized()
        Notifies the extensions that the kernel is initialized
      • starting

        public void starting()
        Notifies the extensions that the kernel is starting
      • injected

        public void injected()
        Notifies the extensions that the plugins are injected
      • started

        public void started()
        Notifies the extensions that the kernel is started
      • stopping

        public void stopping()
        Notifies the extensions that the kernel is stopping
      • stopped

        public void stopped()
        Notifies the extensions that the kernel is stopped
      • getExtensions

        public Set<KernelExtension<?>> getExtensions()
        Gets enabled extensions.
        Returns:
        set of kernel extensions