align name with others

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-22 14:50:24 +00:00
parent 177acedf38
commit 88674f25b4
6 changed files with 7 additions and 7 deletions

View File

@ -329,7 +329,7 @@
<property name="eternal" value="false"/>
<property name="maxElementsInMemory" value="1000"/>
<property name="memoryEvictionPolicy" value="LRU"/>
<property name="name" value="cache"/>
<property name="name" value="url-failures-cache"/>
<property name="overflowToDisk" value="false"/>
<property name="timeToIdleSeconds" value="2700"/>
<property name="timeToLiveSeconds" value="1800"/>

View File

@ -36,7 +36,7 @@ public class DefaultUrlFailureCache
private Cache urlCache;
@Inject
public DefaultUrlFailureCache( @Named( "url-failures-cache" ) Cache urlCache )
public DefaultUrlFailureCache( @Named( "cache#url-failures-cache" ) Cache urlCache )
{
this.urlCache = urlCache;
}

View File

@ -35,7 +35,7 @@
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
destroy-method="dispose">
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="true"/>

View File

@ -29,13 +29,13 @@
<context:property-placeholder system-properties-mode="OVERRIDE"/>
<bean name="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache">
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache">
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="false"/>
<property name="eternal" value="false"/>
<property name="maxElementsInMemory" value="1000"/>
<property name="memoryEvictionPolicy" value="LRU"/>
<property name="name" value="cache"/>
<property name="name" value="url-failures-cache"/>
<property name="overflowToDisk" value="false"/>
<property name="timeToIdleSeconds" value="2700"/>
<property name="timeToLiveSeconds" value="1800"/>

View File

@ -65,7 +65,7 @@
</bean>
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
destroy-method="dispose">
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="false"/>

View File

@ -161,7 +161,7 @@
<property name="timeToLiveSeconds" value="14400"/>
</bean>
<bean id="url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
<bean name="cache#url-failures-cache" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache" lazy-init="true"
destroy-method="dispose">
<property name="diskExpiryThreadIntervalSeconds" value="600"/>
<property name="diskPersistent" value="true"/>