| 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 void | 
Daemon.runStartupForService(OpenmrsService service)
Calls the  
OpenmrsService.onStartup() method, as a daemon, for an instance
 implementing the OpenmrsService interface. | 
static Module | 
Daemon.startModule(Module module)
This method should not be called directly. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.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(java.lang.String version,
                    java.lang.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(java.lang.String moduleId)
Get a module's classloader via the module id 
 | 
static java.util.SortedMap<java.lang.String,java.lang.String> | 
SqlDiffFileParser.getSqlDiffs(Module module)
Get the diff map. 
 | 
static Module | 
ModuleFactory.loadModule(java.io.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(java.io.File moduleFile,
          java.lang.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,
          java.lang.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 java.util.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 java.util.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 Inc.. All Rights Reserved.