Interface PluginContainer


public interface PluginContainer
A wrapper around a plugin loaded by the proxy.
  • Method Details

    • getDescription

      PluginDescription getDescription()
      Returns the plugin's description.
      Returns:
      the plugin's description
    • getInstance

      default Optional<?> getInstance()
      Returns the created plugin if it is available.
      Returns:
      the instance if available
    • getExecutorService

      ExecutorService getExecutorService()
      Returns an executor service for this plugin. The executor will use a cached thread pool.
      Returns:
      an ExecutorService associated with this plugin