org.mmbase.module
Class WatchedReloadableModule
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.util.functions.DescribedFunctionProvider
org.mmbase.module.Module
org.mmbase.module.ReloadableModule
org.mmbase.module.WatchedReloadableModule
- All Implemented Interfaces:
- Descriptor
public abstract class WatchedReloadableModule
- extends ReloadableModule
This Reloadable Module extension reloads its configuration and calls reload, automaticly if the
module XML changes.
- Since:
- MMBase-1.8
- Version:
- $Id: WatchedReloadableModule.java 45319 2011-02-19 09:09:46Z michiel $
- Author:
- Michiel Meeuwissen
|
Method Summary |
void |
onload()
prepares the module when loaded. |
| Methods inherited from class org.mmbase.module.Module |
addInitParameters, checkModules, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, init, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdown, shutdownModules, startModule, startModules |
| Methods inherited from class org.mmbase.util.functions.DescribedFunctionProvider |
getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatchedReloadableModule
public WatchedReloadableModule()
WatchedReloadableModule
public WatchedReloadableModule(String name)
onload
public void onload()
- prepares the module when loaded.
Onload must be overridden to execute methods that need to be performed when the module
is loaded but before any other modules are initailized.
This method is called by Module.startModules(). You should not call onload() directly.
On the onload of a reloadable module, a FileWatcher is started. You should call
super.onload if you need to override this.
- Overrides:
onload in class Module
MMBase2 Bridge 2.0-SNAPSHOT - 2013-05-29T22:05