AdminPageletRegistrar¶
-
public class
AdminPageletRegistrar
extends ExtensionPointIteratedHandler¶ AdminPageletRegistrar handles the registration of a pagelet with the default admin pagelet adaptor.
Author: Hugo Y. K. Lam See also:
hk.hku.cecid.piazza.corvus.admin.listener.AdminPageletAdaptor
Methods¶
getPageletStore¶
-
protected PageletStore
getPageletStore
(Extension extension)¶ Gets the pagelet store this registrar manages.
Parameters: - extension – the extension being processed.
Returns: the pagelet store of the default admin pagelet adaptor.
processExtension¶
-
public void
processExtension
(Extension extension)¶ Adds a pagelet to the pagelet store that this registrar manages.
Parameters: - extension – the extension which represents the pagelet to be added.
Throws: - PluginException – if unable to add the pagelet.
See also:
hk.hku.cecid.piazza.commons.spa.ExtensionPointHandler.processExtensions(java.util.Collection)