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
Base class for plugins. Implements the IPlugin lifecycle events with no-ops, storing references
to the
IPluginContext
and IPluginConfig
.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlugin
(IPluginContext context, IPluginConfig config) Construct a new Plugin. -
Method Summary
Modifier and TypeMethodDescriptionprotected IPluginConfig
TheIPluginConfig
for the plugin.protected IPluginContext
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 Details
-
Plugin
Construct a new Plugin.- Parameters:
context
- the plugin contextconfig
- the plugin config
-
-
Method Details
-
getPluginContext
TheIPluginContext
for the plugin. -
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. -
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.
-