Package | Description |
---|---|
org.openmrs.api.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.module |
OpenMRS Module classes
|
org.openmrs.module.web.filter |
Modifier and Type | Method and Description |
---|---|
static Module |
Daemon.startModule(Module module)
This method should not be called directly.
|
Modifier and Type | Method and Description |
---|---|
static Boolean |
ModuleUtil.checkForModuleUpdates()
Iterates over the modules and checks each update.rdf file for an update
|
protected static void |
ModuleUtil.checkMandatoryModulesStarted()
Looks at the
|
static void |
ModuleUtil.checkRequiredVersion(String version,
String versionRange)
This method is an enhancement of
ModuleUtil.compareVersion(String, String) and adds support for
wildcard characters and upperbounds. |
static ModuleClassLoader |
ModuleFactory.getModuleClassLoader(Module mod)
Get a module's classloader
|
static ModuleClassLoader |
ModuleFactory.getModuleClassLoader(String moduleId)
Get a module's classloader via the module id
|
static SortedMap<String,String> |
SqlDiffFileParser.getSqlDiffs(Module module)
Get the diff map.
|
static Module |
ModuleFactory.loadModule(File moduleFile)
Add a module (in the form of a jar file) to the list of openmrs modules Returns null if an
error occurred and/or module was not successfully loaded
|
static Module |
ModuleFactory.loadModule(File moduleFile,
Boolean replaceIfExists)
Add a module (in the form of a jar file) to the list of openmrs modules Returns null if an
error occurred and/or module was not successfully loaded
|
static Module |
ModuleFactory.loadModule(Module module,
Boolean replaceIfExists)
Add a module to the list of openmrs modules
|
Module |
ModuleFileParser.parse()
Get the module
|
void |
UpdateFileParser.parse()
Parse the contents of the update.rdf file.
|
static Module |
ModuleFactory.startModule(Module module)
Runs through extensionPoints and then calls
BaseModuleActivator.willStart() on the
Module's activator. |
static Module |
ModuleFactory.startModuleInternal(Module module)
This method should not be called directly.
The ModuleFactory.startModule(Module) (and hence Daemon.startModule(Module) ) calls this
method in a new Thread and is authenticated as the Daemon userRuns through extensionPoints and then calls BaseModuleActivator.willStart() on the
Module's activator. |
static Module |
ModuleFactory.updateModule(Module mod)
Update the module: 1) Download the new module 2) Unload the old module 3) Load/start the new
module
|
Modifier and Type | Method and Description |
---|---|
static List<ModuleFilterDefinition> |
ModuleFilterDefinition.retrieveFilterDefinitions(Module module)
Static method to parse through a Module's configuration file and return a List of
ModuleFilterDefinition objects for which there are configuration elements.
|
static List<ModuleFilterMapping> |
ModuleFilterMapping.retrieveFilterMappings(Module module)
Static method to parse through a Module's configuration file and return a List of
ModuleFilterMapping objects for which there are configuration elements.
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.