|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.module.BaseModuleActivator
public abstract class BaseModuleActivator
Must be extended by modules and referenced by the Module-Activator property in the module manifest, contains methods that let modules get notifications as the application is executing to allow modules to react in custom ways.
| Constructor Summary | |
|---|---|
BaseModuleActivator()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseModuleActivator()
| Method Detail |
|---|
public void contextRefreshed()
ModuleActivator
contextRefreshed in interface ModuleActivatorModuleActivator.contextRefreshed()public void started()
ModuleActivator
started in interface ModuleActivatorModuleActivator.started()public void stopped()
ModuleActivator
stopped in interface ModuleActivatorModuleActivator.stopped()public void willRefreshContext()
ModuleActivator
willRefreshContext in interface ModuleActivatorModuleActivator.willRefreshContext()public void willStart()
ModuleActivator
willStart in interface ModuleActivatorModuleActivator.willStart()public void willStop()
ModuleActivator
willStop in interface ModuleActivatorModuleActivator.willStop()
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||