public interface IPlugin
extends org.apache.wicket.util.io.IClusterable
In general, the services that are available to a plugin may come and go at any moment, so the plugin lifecycle is rather minimal.
Plugin lifecycle:
IPluginContext
, IPluginConfig
) is invoked.
A plugin can check its configuration and throw runtime exceptions when it finds that it cannot function correctly. For render plugins, a plugin that renders the error will be instantiated in this case, informing the user of the problem.
start()
method is invoked after services. The plugin
can start new plugin clusters in this phase.
stop()
.
Modifier and Type | Method and Description |
---|---|
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.
|
static final String CLASSNAME
void start()
void stop()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.