org.appdapter.registry.test
Class BasicModuleTestOne.PowerModule

java.lang.Object
  extended by org.appdapter.core.log.BasicDebugger
      extended by org.appdapter.module.basic.BasicModule<PM>
          extended by org.appdapter.module.basic.NullModule<BasicModulator>
              extended by org.appdapter.registry.test.BasicModuleTestOne.PowerModule
All Implemented Interfaces:
Module<BasicModulator>
Enclosing class:
BasicModuleTestOne

public static class BasicModuleTestOne.PowerModule
extends NullModule<BasicModulator>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.appdapter.api.module.Module
Module.State
 
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
BasicModuleTestOne.PowerModule()
           
 
Method Summary
 void runOnce()
          Required pre-state is WAIT_TO_RUN_OR_STOP.
 
Methods inherited from class org.appdapter.module.basic.NullModule
initModule, releaseModule, start, stop
 
Methods inherited from class org.appdapter.module.basic.BasicModule
enterBasicInitModule, enterBasicReleaseModule, enterBasicRunOnce, enterBasicStart, enterBasicStop, exitBasicInitModule, exitBasicReleaseModule, exitBasicRunOnce, exitBasicStart, exitBasicStop, failDuringInitOrStartup, getDescription, getParentModulator, getState, isStopRequested, markStopRequested, notifyStateViolation, setParentModulator, toString, verifyStoredState
 
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, wait, wait, wait
 

Constructor Detail

BasicModuleTestOne.PowerModule

public BasicModuleTestOne.PowerModule()
Method Detail

runOnce

public void runOnce()
Description copied from interface: Module
Required pre-state is WAIT_TO_RUN_OR_STOP. During-state is IN_RUN. Upon return, state is WAIT_TO_RUN_OR_STOP.

Specified by:
runOnce in interface Module<BasicModulator>
Overrides:
runOnce in class NullModule<BasicModulator>


Copyright © 2010-2012. All Rights Reserved.