james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r951538 - /james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
Date Fri, 04 Jun 2010 19:32:58 GMT
Author: norman
Date: Fri Jun  4 19:32:58 2010
New Revision: 951538

URL: http://svn.apache.org/viewvc?rev=951538&view=rev
Log:
Call shutdown on JCR Repository when shutdown the server

Modified:
    james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml

Modified: james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml?rev=951538&r1=951537&r2=951538&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml (original)
+++ james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml Fri Jun  4
19:32:58 2010
@@ -414,7 +414,7 @@
     </bean>
 
     <!-- Jackrabbit JCR Repository -->
-    <bean id="jcrRepository" class="org.apache.jackrabbit.core.RepositoryImpl">
+    <bean id="jcrRepository" class="org.apache.jackrabbit.core.RepositoryImpl" destroy-method="shutdown">
         <constructor-arg index="0" ref="config" />
     </bean>
     



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message