java.lang.Object
net.i2p.router.web.PluginStarter
net.i2p.router.web.PluginStopper
All Implemented Interfaces:
Runnable

class PluginStopperextends PluginStarter
Stop all plugins that are installed and running.
  • Field Details

    • _server

      private final Server _server
      The webapp server being stopped.
  • Constructor Details

    • PluginStopper

      public PluginStopper(RouterContext ctx, Server server)
      Remembers the jetty server whose plugins are to be stopped.
      Parameters:
      ctx - the router context the plugin starter works against
      server - the jetty server whose running plugins are to be stopped
  • Method Details

    • run

      public void run()
      Stops every running plugin.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class PluginStarter
    • stopPlugins

      private void stopPlugins()
      Stop all running plugins

      this shouldn't throw anything.