public static void init() { if ( initialized ) return ; synchronized (initLock) { if ( initialized ) return ; initialized = true ; // Becareful with what this touches - don't touch ARQ.* // because that depends on Jena core and we may be // initializing because IO_Ctl (ie. Jena core) // called RIOT.init. RDFLanguages.init() ; RDFParserRegistry.init() ; RDFWriterRegistry.init() ; IO_Jena.wireIntoJena() ; // Don't register JMX info with ARQ as it may not be initialized // itself and we can get into a circularity. // This is done in ARQ.init at the proper moment. } }
public static void init() { if ( initialized ) return ; synchronized (initLock) { if ( initialized ) { JenaSystem.logLifecycle("RIOT.init - skip") ; return ; } initialized = true ; JenaSystem.logLifecycle("RIOT.init - start") ; // Be careful with what this touches - don't touch ARQ.* // because that depends on Jena core and we may be // initializing because IO_Ctl (ie. Jena core) // called RIOT.init. RDFLanguages.init() ; RDFParserRegistry.init() ; RDFWriterRegistry.init() ; ResultSetLang.init(); IO_Jena.wireIntoJena() ; // Don't register JMX info with ARQ as it may not be initialized // itself and we can get into a circularity. // This is done in ARQ.init at the proper moment. JenaSystem.logLifecycle("RIOT.init - finish") ; } }