changeset 48:69c233694e76

add destroy method in spring bean declaration (is this necessary?).
author casties
date Tue, 25 Oct 2016 18:42:05 +0200
parents c9a411c8f742
children 2d669fdd0a8b
files src/main/resources/openmind-context.xml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/resources/openmind-context.xml	Tue Oct 25 18:32:16 2016 +0200
+++ b/src/main/resources/openmind-context.xml	Tue Oct 25 18:42:05 2016 +0200
@@ -65,7 +65,8 @@
         
     </bean>
         
-    <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
+    <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
+        destroy-method="destroy">
         <property name="triggers">
             <list>
                 <ref bean="schedulingCronTrigger"/>