Created
May 31, 2013 18:35
-
-
Save gregjan/5686987 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> | |
<!-- Context that supports the actual ModeShape JCR itself --> | |
<context:annotation-config/> | |
<bean name="repo" class="javax.jcr.Repository" scope="singleton" factory-bean="repoFactory" factory-method="getRepository"> | |
<constructor-arg><value>file:/src/test/resources/test_repository.json</value></constructor-arg> | |
<constructor-arg><value>repo</value></constructor-arg> | |
</bean> | |
<bean name="repoFactory" class="org.modeshape.jcr.JcrRepositoryFactory"/> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment