You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/12/31 08:59:30 UTC
svn commit: r894790 [2/2] - in /tuscany/sandbox/endpoint-ehcache: ./
META-INF/ src/ src/main/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/tuscany/
src/main/java/org/apache/tuscany/sca/ src/main/java/org/apache/t...
Added: tuscany/sandbox/endpoint-ehcache/src/test/resources/ehcache2.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/endpoint-ehcache/src/test/resources/ehcache2.xml?rev=894790&view=auto
==============================================================================
--- tuscany/sandbox/endpoint-ehcache/src/test/resources/ehcache2.xml (added)
+++ tuscany/sandbox/endpoint-ehcache/src/test/resources/ehcache2.xml Thu Dec 31 07:59:29 2009
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="ehcache.xsd"
+ updateCheck="true" monitoring="autodetect">
+
+ <cacheManagerEventListenerFactory class="" properties=""/>
+
+ <cacheManagerPeerProviderFactory class=
+ "net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
+ properties="peerDiscovery=manual,
+ rmiUrls=//localhost:40001/sampleDistributedCache1"
+ propertySeparator="," />
+
+ <cacheManagerPeerListenerFactory
+ class="org.apache.tuscany.sca.endpoint.ehcache.TuscanyRMICacheManagerPeerListenerFactory"
+ properties="localhost,
+ port=40009,
+ remoteObjectPort=40008,
+ socketTimeoutMillis=120000"
+ propertySeparator="," />
+
+
+ <defaultCache
+ maxElementsInMemory="10000"
+ eternal="true"
+ overflowToDisk="false">
+ <cacheEventListenerFactory
+ class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
+ properties="asynchronousReplicationIntervalMillis=100"/>
+ <bootstrapCacheLoaderFactory
+ class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
+ properties="bootstrapAsynchronously=false "/>
+ </defaultCache>
+
+ <cache name="sampleDistributedCache1"
+ maxElementsInMemory="10000"
+ eternal="true"
+ overflowToDisk="false">
+ <cacheEventListenerFactory
+ class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
+ properties="asynchronousReplicationIntervalMillis=100"/>
+ <bootstrapCacheLoaderFactory
+ class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
+ properties="bootstrapAsynchronously=false "/>
+ </cache>
+
+</ehcache>