public interface DaemonTokenAware
Currently it can be implemented only by ModuleActivator
. The daemon token is injected by
ModuleFactory
before ModuleActivator.contextRefreshed()
or ModuleActivator.started()
.
Modifier and Type | Method and Description |
---|---|
void |
setDaemonToken(DaemonToken token)
Allows to receive the daemon token.
|
void setDaemonToken(DaemonToken token)
It may be called by multiple threads. The last passed token is valid, whereas previously passed tokens may be invalidated.
token
- Copyright © 2024 OpenMRS Inc.. All rights reserved.