public abstract class ModuleFactory<T extends Module> extends Object
Module.plugins and modules lifecycle| Constructor and Description |
|---|
ModuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getIdentifier()
Identifier is used to distinguish the type of the module.
|
T |
parse(String pluginIdentifier,
org.jdom.Element element)
Parses descriptor and creates instance of
Module. |
void |
postInit()
Callback is invoke once on application startup, after the
Module.init(). |
void |
preInit()
Callback is invoke once on application startup, before the
Module.init(). |
public abstract String getIdentifier()
public final T parse(String pluginIdentifier, org.jdom.Element element)
Module.pluginIdentifier - plugin identifierelement - xml element describing moduleModuleException - when some exception occuredpublic void postInit()
Module.init().public void preInit()
Module.init().Copyright © 2010-2025 Qcadoo Limited