|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
KernelState | Line # 30 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /* $Id: KernelState.java,v 1.1 2008/07/26 07:58:30 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.bo.context; | |
19 | ||
20 | import java.io.IOException; | |
21 | ||
22 | import org.qedeq.kernel.config.QedeqConfig; | |
23 | ||
24 | /** | |
25 | * State changing methods for the kernel. | |
26 | * | |
27 | * @version $Revision: 1.1 $ | |
28 | * @author Michael Meyling | |
29 | */ | |
30 | public interface KernelState extends KernelServices { | |
31 | ||
32 | /** | |
33 | * Kernel initialisation. | |
34 | * | |
35 | * @param moduleServices Factory for loading QEDEQ modules. | |
36 | * @param qedeqConfig Configuration to work with. | |
37 | * @throws IOException Initialisation failed. | |
38 | */ | |
39 | public void init(KernelServices moduleServices, QedeqConfig qedeqConfig) | |
40 | throws IOException; | |
41 | ||
42 | /** | |
43 | * Start all kernel activity now. | |
44 | */ | |
45 | public void startup(); | |
46 | ||
47 | /** | |
48 | * Is the kernel ready to perform its main tasks. | |
49 | * | |
50 | * @return Is the kernel ready? | |
51 | */ | |
52 | public boolean isReady(); | |
53 | ||
54 | /** | |
55 | * Closes the kernel. | |
56 | */ | |
57 | public void shutdown(); | |
58 | ||
59 | } |
|