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(Properties props)
Starts the OpenMRS System Should be called prior to any kind of activity
|
static void |
Context.startup(String url,
String username,
String password,
Properties properties)
Starts the OpenMRS System in a _non-webapp_ environment
Note: This method calls Context.openSession() , so you must call
Context.closeSession() somewhere on the same thread of this application so as to not
leak memory. |
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(Properties props)
Start up the module system with the given properties.
|
static List<Module> |
ModuleFactory.stopModule(Module mod,
boolean skipOverStartedProperty,
boolean isFailedStartup)
Runs through the advice and extension points and removes from api.
|
Modifier and Type | Method and Description |
---|---|
static void |
Listener.performWebStartOfModules(Collection<Module> startedModules,
javax.servlet.ServletContext servletContext) |
static void |
Listener.performWebStartOfModules(javax.servlet.ServletContext servletContext)
Call WebModuleUtil.startModule on each started module
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.