jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [4/9] jena git commit: Outline what it will take for Fuseki shutdown.
Date Fri, 19 Feb 2016 20:33:30 GMT
Outline what it will take for Fuseki shutdown.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/4d38d3e0
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/4d38d3e0
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/4d38d3e0

Branch: refs/heads/master
Commit: 4d38d3e0a5ef1c088766a0fcb4608cf97b137a49
Parents: 0602895
Author: Andy Seaborne <andy@apache.org>
Authored: Fri Feb 19 18:09:00 2016 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Fri Feb 19 18:09:00 2016 +0000

----------------------------------------------------------------------
 .../jena/fuseki/server/FusekiServerEnvironmentInit.java  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/4d38d3e0/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/FusekiServerEnvironmentInit.java
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/FusekiServerEnvironmentInit.java
b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/FusekiServerEnvironmentInit.java
index 3142238..c9fa71e 100644
--- a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/FusekiServerEnvironmentInit.java
+++ b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/server/FusekiServerEnvironmentInit.java
@@ -39,5 +39,14 @@ public class FusekiServerEnvironmentInit implements ServletContextListener
{
     }
 
     @Override
-    public void contextDestroyed(ServletContextEvent sce) {}
+    public void contextDestroyed(ServletContextEvent sce) {
+        // Stop handling requests.
+        
+        // ActionSPARQL uses DataAccessPointRegistry to map URI to services (DataAccessPoint)
+        
+        // DataService -> DataService
+//        DataAccessPointRegistry.shutdown() ;
+//        DatasetDescriptionRegistry.reset() ;
+        JenaSystem.shutdown(); 
+    }
 }
\ No newline at end of file


Mime
View raw message