You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/04/25 09:43:54 UTC
svn commit: r1830060 - in /jena/site/trunk/content/documentation/notes:
jena-repack.md system-initialization.mdtext
Author: andy
Date: Wed Apr 25 09:43:53 2018
New Revision: 1830060
URL: http://svn.apache.org/viewvc?rev=1830060&view=rev
Log:
JENA-1524: org.apache.jena.system -> org.apache.jena.sys
Modified:
jena/site/trunk/content/documentation/notes/jena-repack.md
jena/site/trunk/content/documentation/notes/system-initialization.mdtext
Modified: jena/site/trunk/content/documentation/notes/jena-repack.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/notes/jena-repack.md?rev=1830060&r1=1830059&r2=1830060&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/notes/jena-repack.md (original)
+++ jena/site/trunk/content/documentation/notes/jena-repack.md Wed Apr 25 09:43:53 2018
@@ -7,7 +7,7 @@ documentation for process in Jena is [av
There are a number of files (Java resources) in Jena jars named:
- META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle
+ META-INF/services/org.apache.jena.sys.JenaSubsystemLifecycle
Each has different contents, usually one or two lines.
Modified: jena/site/trunk/content/documentation/notes/system-initialization.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/notes/system-initialization.mdtext?rev=1830060&r1=1830059&r2=1830060&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/notes/system-initialization.mdtext (original)
+++ jena/site/trunk/content/documentation/notes/system-initialization.mdtext Wed Apr 25 09:43:53 2018
@@ -14,7 +14,11 @@ The sequence from core to TDB should be
components. See below for how to control the order.
Initialization occurs when `JenaSystem.init()` is first called. Jena ensures that this
-is done when the application first uses any Jena code by using class initializers.
+is done when the application first uses any Jena code by using class
+initializers.
+
+See [notes on repacking Jena code](jena-repack.html) for how to deal
+with ServiceLoader files in repacked jars.
## Initialization code
@@ -56,7 +60,7 @@ On a return from `JenaSystem.init()`, Je
The `JenaSubsystemRegistry` normally used is based on `java.util.ServiceLoader`.
It looks for class resources
-`META-INF/services/org.apache.jena.system.JenaSubsystemLifecycle`
+`META-INF/services/org.apache.jena.sys.JenaSubsystemLifecycle`
on the classpath during the load step.
See the javadoc for `java.util.ServiceLoader` for more details.