|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ModuleActivator
ModuleActivator.contextRefreshed()
public void started()
ModuleActivator
started
in interface ModuleActivator
ModuleActivator.started()
public void stopped()
ModuleActivator
stopped
in interface ModuleActivator
ModuleActivator.stopped()
public void willRefreshContext()
ModuleActivator
willRefreshContext
in interface ModuleActivator
ModuleActivator.willRefreshContext()
public void willStart()
ModuleActivator
willStart
in interface ModuleActivator
ModuleActivator.willStart()
public void willStop()
ModuleActivator
willStop
in interface ModuleActivator
ModuleActivator.willStop()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |