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
|
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) |
static Module |
Daemon.startModule(Module module,
boolean isOpenmrsStartup,
org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
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 <moduleid>.mandatory properties and at the currently started modules to make
sure that all mandatory modules have been started successfully.
|
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
|
void |
UpdateFileParser.parse()
Parse the contents of the update.rdf file.
|
Module |
ModuleFileParser.parse()
Deprecated.
since 2.2.0 use
ModuleFileParser.parse(File) |
static Module |
ModuleFactory.startModule(Module module) |
static Module |
ModuleFactory.startModule(Module module,
boolean isOpenmrsStartup,
org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
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.
|
static Module |
ModuleFactory.startModuleInternal(Module module,
boolean isOpenmrsStartup,
org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
This method should not be called directly.
|
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
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.