|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.config.level.ConfigLevelFactory
public final class ConfigLevelFactory
ConfigurationLoader instances can be registered at a ConfigLevel.
There are five pre-defined configuration levels (LOWEST,
LOW, DEFAULT,
HIGH and HIGHEST).
Finer levels can be defined with a custom configuration level with createConfigLevel(int).
The loading process starts with the ConfigurationLoaders which are registered at the lower levels and check the availability. When the loader or rather the
source is available the loader is used to load the EventServiceConfiguration. Otherwise the next loader in the
configuration level queue is checked.
The ConfigLevelFactory is used by the EventServiceConfigurationFactory and there are some pre-registered
ConfigurationLoader instances. See EventServiceConfigurationFactory
for more information.
| Field Summary | |
|---|---|
static ConfigLevel |
DEFAULT
DEFAULT level = 5000 - 7499 |
static ConfigLevel |
HIGH
HIGH level = 7500 - 9999 |
static ConfigLevel |
HIGHEST
HIGHEST level = >= 10000 |
static ConfigLevel |
LOW
LOW level = 2500 - 4999 |
static ConfigLevel |
LOWEST
LOWEST level = 1 - 2499 |
| Method Summary | |
|---|---|
static ConfigLevel |
createConfigLevel(int aLevelIdent)
Creates a custom configuration level for finer steps than the pre-defined configuration levels ( LOWEST,
LOW, DEFAULT,
HIGH, HIGHEST). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ConfigLevel LOWEST
public static final ConfigLevel LOW
public static final ConfigLevel DEFAULT
public static final ConfigLevel HIGH
public static final ConfigLevel HIGHEST
| Method Detail |
|---|
public static ConfigLevel createConfigLevel(int aLevelIdent)
LOWEST,
LOW, DEFAULT,
HIGH, HIGHEST).
aLevelIdent - queue number of the level (configuration loading is started from the lesser level)
ConfigLevel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||