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
FieldsModifier and TypeFieldDescriptionstatic boolean
Development support - flag to enable output during initialization. -
Constructor Summary
Constructors -
Method Summary
-
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()Initialize Jena. This call can be made several times. Only the first causes the one-time initialization. -
init
public static void init(boolean withTracing) Initialize Jena. This call can be made several times. Only the first causes the one-time initialization.Optionally, output initialization steps (prints to stderr).
-
shutdown
public static void shutdown()
-