Class JenaSystem


  • public class JenaSystem
    extends java.lang.Object
    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
    See also the notes on Jena initialization.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean DEBUG_INIT
      Development support - flag to enable output during initialization.
    • Constructor Summary

      Constructors 
      Constructor Description
      JenaSystem()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void init()  
      static void logLifecycle​(java.lang.String fmt, java.lang.Object... args)
      Output a debugging message if DEBUG_INIT is set
      static void shutdown()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEBUG_INIT

        public static boolean DEBUG_INIT
        Development support - flag to enable output during initialization. Output to System.err, not a logger to avoid the risk of recursive initialization.
    • Constructor Detail

      • JenaSystem

        public JenaSystem()
    • Method Detail

      • logLifecycle

        public static void logLifecycle​(java.lang.String fmt,
                                        java.lang.Object... args)
        Output a debugging message if DEBUG_INIT is set
      • init

        public static void init()
      • shutdown

        public static void shutdown()