org.mmbase.module
Class WatchedReloadableModule
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.module.Module
org.mmbase.module.ReloadableModule
org.mmbase.module.WatchedReloadableModule
- Direct Known Subclasses:
- ClusteringModule, CrontabModule
- 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,v 1.4 2006/06/19 08:38:59 michiel Exp $
- Author:
- Michiel Meeuwissen
|
Method Summary |
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. |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModules, getName, getProperties, getProperty, getVersion, hasStarted, init, maintainance, setInitParameter, setMaintainer, setName, setVersion, shutdown, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatchedReloadableModule
public WatchedReloadableModule()
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
MMBase build 1.8.1.20060716