public interface IPlugin
extends org.apache.wicket.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()
.
static final String CLASSNAME
void start()
void stop()
Copyright © 2007-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.