blob: 72610e764955ee1ba1aca89749dcdd672405446c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package net.sf.oreka;
public class OrkBase {
private static OrkBase orkBase = null;
private boolean debugSwitch = false;
public boolean isDebugSwitch() {
return debugSwitch;
}
public void setDebugSwitch(boolean debugSwitch) {
this.debugSwitch = debugSwitch;
}
private OrkBase() {
}
public static OrkBase instance() {
if(orkBase == null) {
orkBase = new OrkBase();
}
return orkBase;
}
}
|