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.web |
Modifier and Type | Method and Description |
---|---|
static void |
Context.startup(java.util.Properties props)
Starts the OpenMRS System Should be called prior to any kind of activity
If an InputRequiredException is thrown, a call to DatabaseUpdater#update(Map)
will be required with a mapping from question prompt to user answer before startup can be
called again. |
static void |
Context.startup(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.util.Properties properties)
Starts the OpenMRS System in a _non-webapp_ environment
If an InputRequiredException is thrown, a call to DatabaseUpdater#update(Map)
will be required with a mapping from question prompt to user answer before startup can be
called again. |
Modifier and Type | Class and Description |
---|---|
class |
MandatoryModuleException
This error is thrown when OpenMRS is started but a module marked as 'mandatory' but was unable to
start.
|
class |
OpenmrsCoreModuleException
This error is thrown when OpenMRS is started but there is a module that is core to OpenMRS and
that module is not present or did not start
This error is also thrown when trying to stop a module that is marked as core. |
Modifier and Type | Method and Description |
---|---|
static void |
ModuleUtil.startup(java.util.Properties props)
Start up the module system with the given properties.
|
static java.util.List<Module> |
ModuleFactory.stopModule(Module mod,
boolean skipOverStartedProperty,
boolean isFailedStartup)
Runs through the advice and extension points and removes from api.
skipOverStartedProperty should only be true when openmrs is stopping modules
because it is shutting down. |
Modifier and Type | Method and Description |
---|---|
static void |
Listener.performWebStartOfModules(javax.servlet.ServletContext servletContext)
Call WebModuleUtil.startModule on each started module
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.