]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/test/resources/org/argeo/slc/jcr/dao/applicationContext.xml
Clean up directories
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / test / resources / org / argeo / slc / jcr / dao / applicationContext.xml
index 4f2d6ffea82178d448432a57afbad019b4c5b679..8383220e4ae55d28c362751b55c3235971a3c815 100644 (file)
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+\r
+    Copyright (C) 2007-2012 Argeo GmbH\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+\r
+-->\r
 <!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under \r
        the Apache License, Version 2.0 (the "License"); you may not use this file \r
        except in compliance with the License. You may obtain a copy of the License \r
@@ -64,7 +81,8 @@
                </constructor-arg>\r
        </bean>\r
 \r
-       <bean id="argeo.jcr.repository.inMemory" class="org.argeo.jackrabbit.JackrabbitContainer">\r
+       <bean id="argeo.jcr.repository.inMemory" class="org.argeo.jackrabbit.JackrabbitContainer"\r
+               init-method="init" destroy-method="destroy">\r
                <property name="homeDirectory"\r
                        value="${java.io.tmpdir}/jackrabbit-slc-unit-${user.name}" />\r
                <property name="inMemory" value="true" />\r