org.mmbase.clustering
Class ClusteringModule

java.lang.Object
  extended by org.mmbase.util.functions.FunctionProvider
      extended by org.mmbase.util.functions.DescribedFunctionProvider
          extended by org.mmbase.module.Module
              extended by org.mmbase.module.ReloadableModule
                  extended by org.mmbase.module.WatchedReloadableModule
                      extended by org.mmbase.clustering.ClusteringModule
All Implemented Interfaces:
Descriptor

public class ClusteringModule
extends WatchedReloadableModule

This module bootstraps and configures MMBase clustering.

Since:
MMBase-1.8
Version:
$Id: ClusteringModule.java 42979 2010-07-23 12:26:54Z michiel $

Field Summary
 
Fields inherited from class org.mmbase.module.Module
configurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIME
 
Fields inherited from class org.mmbase.util.functions.DescribedFunctionProvider
description, guiName, name
 
Fields inherited from class org.mmbase.util.functions.FunctionProvider
functions, getFunctions
 
Constructor Summary
ClusteringModule(String name)
           
 
Method Summary
 void init()
          Initializes the module.
 void reload()
          This method should be called when the module should be reloaded.
protected  void shutdown()
          Shuts down the module.
 
Methods inherited from class org.mmbase.module.WatchedReloadableModule
onload
 
Methods inherited from class org.mmbase.module.ReloadableModule
reloadConfiguration, reloadConfiguration
 
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, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, 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 org.mmbase.util.functions.FunctionProvider
addFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteringModule

public ClusteringModule(String name)
Method Detail

init

public void init()
Description copied from class: Module
Initializes the module. Init must be overridden to read the environment variables it needs.
This method is called by Module.startModule(), which makes sure it is not called more than once. You should not call init() directly, call startModule() instead.

Overrides:
init in class Module

shutdown

protected void shutdown()
Description copied from class: Module
Shuts down the module. This method is called by shutdownModules.

Overrides:
shutdown in class Module

reload

public void reload()
Description copied from class: ReloadableModule
This method should be called when the module should be reloaded.

Specified by:
reload in class ReloadableModule


MMBase 2.0-SNAPSHOT - null