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. 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
|
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()
Copyright © 2024 OpenMRS Inc.. All rights reserved.