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 java.lang.Thread |
Daemon.runInDaemonThread(java.lang.Runnable runnable,
DaemonToken token)
Executes the given runnable in a new thread that is authenticated as the daemon user.
|
static void |
Daemon.runInDaemonThreadAndWait(java.lang.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 © 2018 OpenMRS Inc.. All Rights Reserved.