| 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 Thread | Daemon. runInDaemonThread(Runnable runnable,
                 DaemonToken token)Executes the given runnable in a new thread that is authenticated as the daemon user. | 
| static void | Daemon. runInDaemonThreadAndWait(Runnable runnable,
                        DaemonToken token)Executes the given runnable in a new thread that is authenticated as the daemon user and wait
 for the thread to finish. | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | ModuleFactory. isTokenValid(DaemonToken token)Validates the given token. | 
| void | DaemonTokenAware. setDaemonToken(DaemonToken token)Allows to receive the daemon token. | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.