Skip to content

Commit

Permalink
Added ModeShape HTTP API dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Jan 27, 2013
1 parent 46abf14 commit 8da7136
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -14,6 +14,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server>
<netbeans.hint.j2eeVersion>1.6</netbeans.hint.j2eeVersion>
<modeshape.version>3.1.0.Final</modeshape.version>
</properties>

<repositories>
Expand Down Expand Up @@ -92,6 +93,11 @@
<groupId>org.modeshape</groupId>
<artifactId>modeshape-jcr-api</artifactId>
</dependency>
<dependency>
<groupId>org.modeshape</groupId>
<artifactId>modeshape-web-jcr-rest</artifactId>
<version>${modeshape.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.jbossts</groupId>
Expand Down
11 changes: 10 additions & 1 deletion src/main/resources/infinispan_configuration.xml
Expand Up @@ -47,7 +47,8 @@
We can have multiple cache loaders, which get chained. But we'll define just one.
-->
<loaders passivation="false" shared="true" preload="true">

<loaders passivation="false" shared="false" preload="true">

<!--
The 'fetchPersistentState' attribute applies when this cache joins the cluster; the value doesn't
Expand All @@ -72,6 +73,14 @@
<async enabled="true" flushLockTimeout="15000" threadPoolSize="5"/>
-->
</loader>
<!-- fall back to other nodes if we don't have this data -->
<loader class="org.infinispan.loaders.cluster.ClusterCacheLoader"
fetchPersistentState="false" purgeOnStartup="false">
<properties>
<property name="remoteCallTimeout" value="20000"/>
</properties>

</loader>
</loaders>
</namedCache>
</infinispan>

0 comments on commit 8da7136

Please sign in to comment.