Adaptive Framework 0.9.0

administrative

The following is a list of functions in the category administrative

FunctionDescription
extension_loadLoad an extension by its extension id if it is not already loaded. Loading an AFW package's manifest extension will register the manifest of all extensions in the package.
extension_load_by_module_pathLoad an extension by its module path. Loading an AFW package's manifest extension will register the manifest of all extensions in the package.
flag_get_activeGet a list of of the flagId of flags that are set in the current execution context (xctx).
flag_get_active_defaultsGet a list of the flagId of flags that are set by default when a new execution context (xctx) is created.
flag_get_defaultsGet the list of the flagId of flags that are used to determine the default active flags when an execution context (xctx) is created. This list can contain the flagId of flags that have not yet been registered. Each of these flags and the flags they include are set as the active default flags.
flag_modify_defaultsAdd or remove flags from the list of the flagId of flags that are used to determine the default active flags when an execution context (xctx) is created. This list can contain the flagId of flags that have not yet been registered. These flags and the flags they include are set as the active default flags. This change only lasts for the life of the current adaptive environment (e.g. until the adaptive server or afw command ends). If you want the change to persist, change the defaultFlags property in the application config.
flag_replace_defaultsCompletely replace the list of the flagId of flags that are used to determine the default active flags when an execution context (xctx) is created. This list can contain the flagId of flags that have not yet been registered. These flags and the flags they include are set as the active default flags. This change only lasts for the life of the current adaptive environment (e.g. until the adaptive server or afw command ends). If you want the change to persist, change the defaultFlags property in the application config.
flag_setSet or unset one or more active xctx (request) flags.
registry_key_checkThis will check to see if a registry key exists for a specified registry type and optionally load it's associated extension if needed.
service_getGet a service object.
service_restartRestart a service.
service_startStart a service.
service_stopStop a service.