public interface ModuleActivator
BaseModuleActivator
instead of directly implementing this interface for forward
compatibility of subclasses.BaseModuleActivator
Modifier and Type | Method and Description |
---|---|
void |
contextRefreshed()
Called after spring's application context is refreshed , this method is called multiple times
i.e. whenever a new module gets started and at application startup.
|
void |
started()
Called after a module is started, the application context has been refreshed and the module's
service methods are ready to be called.
|
void |
stopped()
Called after a module is stopped
|
void |
willRefreshContext()
Called just before spring's application context is refreshed, this method is called multiple
times i.e. whenever a new module gets started, at application startup or a developer chooses
to refresh the context.
|
void |
willStart()
Called after a module has been loaded but before the application context is refreshed, at
this point the module's service methods aren't yet available so they can't be called.
|
void |
willStop()
Called just before a module is stopped
|
void willRefreshContext()
void contextRefreshed()
void willStart()
void started()
void willStop()
void stopped()
Copyright © 2024 OpenMRS Inc.. All rights reserved.