Class Plugin

java.lang.Object
org.hippoecm.frontend.plugin.Plugin
All Implemented Interfaces:
Serializable, org.apache.wicket.util.io.IClusterable, IPlugin
Direct Known Subclasses:
AbstractListColumnProviderPlugin, CmsLogoutService, DefaultFileUploadPreProcessorPlugin, HTMLDiffPlugin, UnitPlugin, UploadValidationPlugin, WireframePlugin

public abstract class Plugin extends Object implements IPlugin
Base class for plugins. Implements the IPlugin lifecycle events with no-ops, storing references to the IPluginContext and IPluginConfig.
See Also:
  • Constructor Details

    • Plugin

      public Plugin(IPluginContext context, IPluginConfig config)
      Construct a new Plugin.
      Parameters:
      context - the plugin context
      config - the plugin config
  • Method Details

    • getPluginContext

      protected IPluginContext getPluginContext()
      The IPluginContext for the plugin.
    • getPluginConfig

      protected IPluginConfig getPluginConfig()
      The IPluginConfig for the plugin.
    • start

      public void start()
      Description copied from interface: IPlugin
      This method can be implemented by plugins to delay part of the initialization until subclasses have finished their construction.
      Specified by:
      start in interface IPlugin
    • stop

      public void stop()
      Description copied from interface: IPlugin
      Release references to external resources. It is not necessary to unregister services or trackers; this is handled by the framework.
      Specified by:
      stop in interface IPlugin