Package org.hippoecm.frontend.plugin
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 theIPluginContext
andIPluginConfig
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Plugin(IPluginContext context, IPluginConfig config)
Construct a new Plugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IPluginConfig
getPluginConfig()
TheIPluginConfig
for the plugin.protected IPluginContext
getPluginContext()
TheIPluginContext
for the plugin.void
start()
This method can be implemented by plugins to delay part of the initialization until subclasses have finished their construction.void
stop()
Release references to external resources.
-
-
-
Constructor Detail
-
Plugin
public Plugin(IPluginContext context, IPluginConfig config)
Construct a new Plugin.- Parameters:
context
- the plugin contextconfig
- the plugin config
-
-
Method Detail
-
getPluginContext
protected IPluginContext getPluginContext()
TheIPluginContext
for the plugin.
-
getPluginConfig
protected IPluginConfig getPluginConfig()
TheIPluginConfig
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.
-
-