org.appdapter.module.basic
Class BasicModulator

java.lang.Object
  extended by org.appdapter.core.log.BasicDebugger
      extended by org.appdapter.module.basic.BasicModulator
All Implemented Interfaces:
Modulator

public class BasicModulator
extends BasicDebugger
implements Modulator

Author:
Stu B.

Field Summary
 
Fields inherited from class org.appdapter.core.log.BasicDebugger
IMPO_HI, IMPO_HIHI, IMPO_LO, IMPO_LOLO, IMPO_MAX, IMPO_MIN, IMPO_NORM
 
Constructor Summary
BasicModulator()
           
 
Method Summary
 void attachModule(Module m)
           
 void detachModule(Module m)
           
 void dumpModules()
           
 int getAttachedModuleCount()
           
protected  List<Module> getModulesMatchingStates(Module.State... matchStates)
           
protected static boolean isModuleInActionState(Module.State modState)
           
protected  void processFinishedModules()
           
protected  void processInitingModules()
           
 void processOneBatch()
           
protected  void processRunningModules()
           
protected  void processStartingModules()
           
protected  void processStoppingModules()
           
 
Methods inherited from class org.appdapter.core.log.BasicDebugger
checkDebugImportance, getLogger, isLoggerUsable, logError, logInfo, logInfo, logInfoEvent, setDebugImportanceThreshold, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicModulator

public BasicModulator()
Method Detail

isModuleInActionState

protected static boolean isModuleInActionState(Module.State modState)

attachModule

public void attachModule(Module m)
Specified by:
attachModule in interface Modulator

detachModule

public void detachModule(Module m)
Specified by:
detachModule in interface Modulator

getAttachedModuleCount

public int getAttachedModuleCount()
Specified by:
getAttachedModuleCount in interface Modulator

processOneBatch

public void processOneBatch()
Specified by:
processOneBatch in interface Modulator

getModulesMatchingStates

protected List<Module> getModulesMatchingStates(Module.State... matchStates)

processFinishedModules

protected void processFinishedModules()

processStoppingModules

protected void processStoppingModules()

processRunningModules

protected void processRunningModules()

processStartingModules

protected void processStartingModules()

processInitingModules

protected void processInitingModules()

dumpModules

public void dumpModules()


Copyright © 2010-2012. All Rights Reserved.