ExtensionPointIteratedHandler¶
-
public abstract class
ExtensionPointIteratedHandler
implements ExtensionPointHandler¶ An ExtensionPointIteratedHandler handles all the extensions of the extension point it represents one by one.
Author: Hugo Y. K. Lam See also:
ExtensionPoint
Methods¶
isFaultTolerated¶
-
protected boolean
isFaultTolerated
()¶ Checks if fault tolerance is enabled.
Returns: true if fault tolerance is enabled.
processExtension¶
processExtensions¶
-
public void
processExtensions
(Collection extensions)¶ Processes the extensions one by one. If fault tolerance is enabled, no exception will be thrown and processes will be carried on even if there are any exceptions.
Parameters: - extensions – the extensions of the extension point it represents.
Throws: - PluginException – if failed in processing the extensions.
See also:
hk.hku.cecid.piazza.commons.spa.ExtensionPointHandler.processExtensions(java.util.Collection)