[jboss-cvs] JBossAS SVN: r69753 - projects/ejb3/trunk/core/src/main/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Feb 9 14:05:50 EST 2008


Author: bstansberry at jboss.com
Date: 2008-02-09 14:05:50 -0500 (Sat, 09 Feb 2008)
New Revision: 69753

Modified:
   projects/ejb3/trunk/core/src/main/resources/ejb3-clustered-sfsbcache-beans.xml
Log:
Switch to NullEvictionPolicy, disable cache loader fqn checks

Modified: projects/ejb3/trunk/core/src/main/resources/ejb3-clustered-sfsbcache-beans.xml
===================================================================
--- projects/ejb3/trunk/core/src/main/resources/ejb3-clustered-sfsbcache-beans.xml	2008-02-09 19:04:12 UTC (rev 69752)
+++ projects/ejb3/trunk/core/src/main/resources/ejb3-clustered-sfsbcache-beans.xml	2008-02-09 19:05:50 UTC (rev 69753)
@@ -48,23 +48,22 @@
       <!-- Must match the value of "useRegionBasedMarshalling" -->
       <property name="inactiveOnStartup">true</property>
 
-      <!--  Specific eviction policy configurations. This is LRU -->
       <property name="evictionConfig">
       	 <bean name="EJB3SFSBEvictionConfig" class="org.jboss.cache.config.EvictionConfig">
-      	   <property name="defaultEvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</property>
+      	   <property name="defaultEvictionPolicyClass">org.jboss.cache.eviction.NullEvictionPolicyConfig</property>
             <property name="wakeupIntervalSeconds">5</property>
             <property name="evictionRegionConfigs">
             	<list>
-            		<!-- So default region would never timeout -->
+            		<!-- Default region would never timeout -->
             		<bean name="EJB3SFSBDefaultEvictionRegionConfig" class="org.jboss.cache.config.EvictionRegionConfig">
             			<property name="regionName">/_default_</property>
             			<property name="evictionPolicyConfig">
-            				<bean name="EJB3SFSBDefaultLRUConfig" class="org.jboss.cache.eviction.LRUConfiguration">
-               					<property name="maxNodes">0</property>
-               					<property name="timeToLiveSeconds">0</property>
-               				</bean>
+            				<bean name="EJB3SFSBDefaultLRUConfig" 
+            				      class="org.jboss.cache.eviction.NullEvictionPolicyConfig"/>
                			</property>
-            		</bean>
+            		</bean>
+            		<!-- EJB3 integration code will programatically create other
+                       regions as beans are deployed -->
             	</list>
 			</property>
          </bean>
@@ -105,7 +104,8 @@
                			<property name="location">${jboss.server.data.dir}${/}sfsb</property>
                    		<property name="async">false</property>
                    		<property name="fetchPersistentState">true</property>
-                   		<property name="ignoreModifications">false</property>
+                   		<property name="ignoreModifications">false</property>
+                        <property name="checkCharacterPortability">false</property>
                		</bean>
                	</list>
             </property>




More information about the jboss-cvs-commits mailing list