changeset 93:27bf167d09f1

add listener for ServiceRegistry to run Spring bean shutdown hook.
author casties
date Mon, 17 Oct 2016 19:52:28 +0200
parents be377d5f9cc4
children d2cee1040062
files src/main/webapp/WEB-INF/web.xml
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/WEB-INF/web.xml	Thu Oct 13 19:03:03 2016 +0200
+++ b/src/main/webapp/WEB-INF/web.xml	Mon Oct 17 19:52:28 2016 +0200
@@ -75,6 +75,9 @@
     <param-value>resources.application</param-value>
   </context-param>
   <listener>
+    <listener-class>org.mpi.openmind.repository.services.ServiceRegistry</listener-class>
+  </listener>
+  <listener>
     <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
   </listener>
 </web-app>
\ No newline at end of file