This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch fuseki-mods
in repository https://gitbox.apache.org/repos/asf/jena-site.git

commit 9e7b1d22d8430fa81f8a6cfc2d9e5c278d8d5213
Author: Andy Seaborne <a...@apache.org>
AuthorDate: Wed Jan 12 12:30:38 2022 +0000

    Update and link to fuseki-modules.html
---
 source/documentation/fuseki2/__index.md        |  1 +
 source/documentation/fuseki2/fuseki-modules.md | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/source/documentation/fuseki2/__index.md 
b/source/documentation/fuseki2/__index.md
index 22ac8a7..c9b3f44 100644
--- a/source/documentation/fuseki2/__index.md
+++ b/source/documentation/fuseki2/__index.md
@@ -45,6 +45,7 @@ transactional persistent storage layer, and incorporates
 - Client access
     - [Use from Java](../rdfconnection)
     - [SPARQL Over HTTP](soh.html) - scripts to help with data management.
+- Extending Fuseki with [Fuseki Modules](fuseki-modules.html)
 - [Links to Standards](rdf-sparql-standards.html)
 
 The Jena users mailing is the place to get help with Fuseki.
diff --git a/source/documentation/fuseki2/fuseki-modules.md 
b/source/documentation/fuseki2/fuseki-modules.md
index bbeb8e6..ff3d465 100644
--- a/source/documentation/fuseki2/fuseki-modules.md
+++ b/source/documentation/fuseki2/fuseki-modules.md
@@ -87,7 +87,15 @@ public interface FusekiModule extends SubsystemLifecycle {
      * configuration. The "configModel" parameter is set if a configuration 
file was
      * used otherwise it is null.
      */
-    public default void configuration(FusekiServer.Builder builder, 
DataAccessPointRegistry dapRegistry, Model configModel) {}
+    public default void configuration(FusekiServer.Builder builder, 
DataAccessPointRegistry dapRegistry, Model configModel) {
+        
dapRegistry.accessPoints().forEach(accessPoint->configDataAccessPoint(builder, 
accessPoint, configModel));
+    }
+
+    /**
+     * This method is called for each {@link DataAccessPoint}
+     * by the default implementation of {@link #configuration}.
+     */
+    public default void configDataAccessPoint(FusekiServer.Builder builder, 
DataAccessPoint dap, Model configModel) {}
 
     /**
      * Built, not started, about to be returned to the builder caller.

Reply via email to