java.lang.Object
org.apache.jena.sys.JenaSystem
Jena "system" - simple controls for ensuring components are loaded and initialized.
All initialization should be concurrent and thread-safe. In particular, some subsystems need initialization in some sort of order (e.g. ARQ before TDB).
This is achieved by "levels": levels less than 500 are considered "Jena system levels" and are reserved.
- 0 - reserved
- 10 - jena-core
- 20 - RIOT
- 30 - ARQ
- 40 - TDB
- 50-100 - Other Jena system modules.
- 101 - Fuseki
- 102-9998 - Application
- 9999 - other
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Development support - flag to enable output during initialization. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
init()
static void
logLifecycle
(String fmt, Object... args) Output a debugging message if DEBUG_INIT is setstatic void
shutdown()
-
Field Details
-
DEBUG_INIT
public static boolean DEBUG_INITDevelopment support - flag to enable output during initialization. Output toSystem.err
, not a logger to avoid the risk of recursive initialization.
-
-
Constructor Details
-
JenaSystem
public JenaSystem()
-
-
Method Details
-
logLifecycle
Output a debugging message if DEBUG_INIT is set -
init
public static void init() -
shutdown
public static void shutdown()
-