Hilbert II - Version 0.03.08

org.qedeq.kernel.bo.module
Interface KernelState

All Superinterfaces:
ModuleFactory
All Known Subinterfaces:
Kernel
All Known Implementing Classes:
KernelContext

public interface KernelState
extends ModuleFactory

State dependent methods for the kernel.

Version:
$Revision: 1.4 $

Method Summary
 QedeqConfig getConfig()
          Get access to configuration parameters.
 void init(ModuleFactory moduleFactory, QedeqConfig qedeqConfig)
          Kernel initialization.
 boolean isReady()
          Is the kernel ready to perform its main tasks.
 void shutdown()
          Closes the kernel.
 void startup()
          Start all kernel activity now.
 
Methods inherited from interface org.qedeq.kernel.bo.module.ModuleFactory
clearLocalBuffer, getAllLoadedModules, getBufferDirectory, getGenerationDirectory, getLocalFilePath, getModuleAddress, getModuleAddress, getModuleAddress, getModuleProperties, loadAllModulesFromQedeq, loadModule, loadModule, loadRequiredModules, removeAllModules, removeModule
 

Method Detail

init

public void init(ModuleFactory moduleFactory,
                 QedeqConfig qedeqConfig)
          throws IOException
Kernel initialization.

Parameters:
moduleFactory - Factory for loading QEDEQ modules.
qedeqConfig - TODO
Throws:
IOException - Initialization failed.

startup

public void startup()
Start all kernel activity now.

Specified by:
startup in interface ModuleFactory

isReady

public boolean isReady()
Is the kernel ready to perform its main tasks.

Returns:
Is the kernel ready?

getConfig

public QedeqConfig getConfig()
Get access to configuration parameters.

Returns:
Configuration access.

shutdown

public void shutdown()
Closes the kernel.


Hilbert II - Version 0.03.08

©left GNU General Public Licence
All Rights Reserved.