public abstract class BaseModuleActivator extends Object implements ModuleActivator
| Constructor and Description |
|---|
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.
|
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.
|
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
|
public void contextRefreshed()
ModuleActivatorcontextRefreshed in interface ModuleActivatorModuleActivator.contextRefreshed()public void started()
ModuleActivatorstarted in interface ModuleActivatorModuleActivator.started()public void stopped()
ModuleActivatorstopped in interface ModuleActivatorModuleActivator.stopped()public void willRefreshContext()
ModuleActivatorwillRefreshContext in interface ModuleActivatorModuleActivator.willRefreshContext()public void willStart()
ModuleActivatorwillStart in interface ModuleActivatorModuleActivator.willStart()public void willStop()
ModuleActivatorwillStop in interface ModuleActivatorModuleActivator.willStop()Copyright © 2018 OpenMRS LLC.. All Rights Reserved.