module documentation

Undocumented

Class ConfDict Undocumented
Class ConfManager No class docstring; 0/1 instance variable, 0/8 class variable, 8/53 methods documented
Function getRegistry Undocumented
Function initConf Initialize a ZMS configuration by importing a set of configuration files that match a given name pattern, e.g. 'unibern.*'. The pattern should be in the format prefix:pattern, where actually only pattern...
Constant __REGISTRY__ Undocumented
Constant UNINHERITED_PROPERTIES "" Read system-configuration from $ZMS_HOME/etc/zms.conf
def getRegistry(): (source)

Undocumented

def initConf(self, pattern): (source)

Initialize a ZMS configuration by importing a set of configuration files that match a given name pattern, e.g. 'unibern.*'. The pattern should be in the format prefix:pattern, where actually only pattern is the part of the filename to match using function fnmatch(). If a matching file is found and it ends with '.zip', it will be imported as a configuration package. Otherwise, it will be imported as a a single XML file or - if prefixed with conf: as a set of configuration files from the ZMS conf-folder. The full list of available configuration files is aggrgated by the method ConfManager.getConfFiles. In case of conf:-prefix, the filename is expected to be in the format conf:container_id/package-id, e.g. conf:metaobj_manager/com.zms.foundation.theme/theme_zms_base will match to path conf:metaobj_manager/com.zms.foundation.theme. This means only the 1st level of the naming hierarchy (in case of metaobj_manager mostly the package-id is used to match the pattern). Nested packages are always imported as a whole.

Parameters
selfUndocumented
pattern:stringString-pattern to filter filenames.
Returns
NoneNone
__REGISTRY__ = (source)

Undocumented

Value
None
UNINHERITED_PROPERTIES: list[str] = (source)

"" Read system-configuration from $ZMS_HOME/etc/zms.conf

Value
['ASP', 'Portal']