Sys¶
-
public final class
Sys
¶ Sys represents a system in an application and contains one system module, which is described by a module descriptor. The descriptor location and the system module class will be looked up from a module group descriptor which is located by the following logic:
- Search for the Sys properties (sys.properties) in the classpaths of the classloader used to load the Sys class.
- If the properties was not found, use the Java System Properties.
- Look for a property ‘sys.module.group’ for the system module group descriptor location.
- If the property is not found, the location will be default to ‘hk/hku/cecid/piazza/commons/conf/sys.module-group.xml’
Author: Hugo Y. K. Lam See also:
hk.hku.cecid.piazza.commons.module.Module
,hk.hku.cecid.piazza.commons.module.ModuleGroup
Fields¶
main¶
-
public static final SystemModule
main
¶ The main system module.
Methods¶
getModuleGroup¶
-
public static ModuleGroup
getModuleGroup
()¶ Gets the system module group.
Returns: the system module group.