public abstract class PropertiesModuleFactory
extends Object
This is the base class for classes responsible for creating modules using properties.
| Modifiers | Name | Description |
|---|---|---|
static String |
MODULE_NAME_KEY |
Property key in META-INF configuration file for specifying the module name. |
static String |
MODULE_VERSION_KEY |
Property key in META-INF configuration file for specifying the module version. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public abstract ExtensionModule |
newModule(Properties properties, ClassLoader classLoader)Creates a new extension module from the given properties and class loader. |
Property key in META-INF configuration file for specifying the module name.
Property key in META-INF configuration file for specifying the module version.
Creates a new extension module from the given properties and class loader. Implementations are responsible for parsing the properties and creating an appropriate module instance.
properties - the module metadata propertiesclassLoader - the class loader to use for loading extension classes