]> 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 cb629358a539f33190df113837ef5f16ce7ae09a..8383220e4ae55d28c362751b55c3235971a3c815 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <!--\r
 \r
-    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\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
     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
+       at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable \r
+       law or agreed to in writing, software distributed under the License is distributed \r
+       on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either \r
+       express or implied. See the License for the specific language governing permissions \r
+       and limitations under the License. -->\r
 \r
 <beans xmlns="http://www.springframework.org/schema/beans"\r
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
@@ -57,8 +65,7 @@
                <property name="nodeMapperProvider" ref="nodeMapperProvider" />\r
        </bean>\r
 \r
-       <bean id="nodeMapper" class="org.argeo.jcr.BeanNodeMapper">\r
-       </bean>\r
+       <bean id="nodeMapper" class="org.argeo.jcr.spring.BeanNodeMapper" />\r
 \r
        <bean id="treeTestResultNodeMapper" class="org.argeo.slc.jcr.dao.TreeTestResultNodeMapper">\r
        </bean>\r
                </constructor-arg>\r
        </bean>\r
 \r
-       <bean id="argeo.jcr.repository.inMemory" class="org.argeo.server.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
                <property name="configuration"\r
-                       value="classpath:/org/argeo/server/jackrabbit/repository-inMemory.xml" />\r
+                       value="classpath:/org/argeo/jackrabbit/repository-inMemory.xml" />\r
        </bean>\r
 \r
 </beans>
\ No newline at end of file