package move to o.a.a.r module redback-rbac-cached

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-07 22:53:09 +00:00
parent 91af10462c
commit 8d2aa42a65
8 changed files with 12 additions and 13 deletions

View File

@ -23,7 +23,7 @@
<component>
<role>org.apache.archiva.redback.rbac.RBACManager</role>
<role-hint>cached</role-hint>
<implementation>org.codehaus.plexus.redback.rbac.cached.CachedRbacManager</implementation>
<implementation>org.apache.archiva.redback.rbac.cached.CachedRbacManager</implementation>
<description>CachedRbacManager is a wrapped RBACManager with caching.</description>
<requirements>
<requirement>

View File

@ -23,7 +23,7 @@
<component>
<role>org.apache.archiva.redback.rbac.RBACManager</role>
<role-hint>cached</role-hint>
<implementation>org.codehaus.plexus.redback.rbac.cached.CachedRbacManager</implementation>
<implementation>org.apache.archiva.redback.rbac.cached.CachedRbacManager</implementation>
<description>CachedRbacManager is a wrapped RBACManager with caching.</description>
<requirements>
<requirement>

View File

@ -37,7 +37,7 @@
<property name="password" value=""/>
</bean>
<bean name="rBACManager#cached" class="org.codehaus.plexus.redback.rbac.cached.CachedRbacManager">
<bean name="rBACManager#cached" class="org.apache.archiva.redback.rbac.cached.CachedRbacManager">
<property name="rbacImpl" ref="rBACManager#memory"/>
</bean>
@ -46,7 +46,7 @@
<component>
<role>org.apache.archiva.redback.rbac.RBACManager</role>
<role-hint>cached</role-hint>
<implementation>org.codehaus.plexus.redback.rbac.cached.CachedRbacManager</implementation>
<implementation>org.apache.archiva.redback.rbac.cached.CachedRbacManager</implementation>
<description>CachedRbacManager is a wrapped RBACManager with caching.</description>
<requirements>
<requirement>

View File

@ -1,4 +1,4 @@
package org.codehaus.plexus.redback.rbac.cached;
package org.apache.archiva.redback.rbac.cached;
/*
* Licensed to the Apache Software Foundation (ASF) under one

View File

@ -29,7 +29,7 @@
<context:annotation-config />
<context:component-scan
base-package="org.codehaus.plexus.redback.rbac.cached"/>
base-package="org.apache.archiva.redback.rbac.cached"/>
<bean name="cache#operations" class="org.codehaus.plexus.cache.ehcache.EhcacheCache"
init-method="initialize">

View File

@ -1,4 +1,4 @@
package org.codehaus.plexus.redback.rbac.cached;
package org.apache.archiva.redback.rbac.cached;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@ -20,6 +20,7 @@ package org.codehaus.plexus.redback.rbac.cached;
*/
import org.apache.archiva.redback.rbac.RBACManager;
import org.apache.archiva.redback.rbac.cached.CachedRbacManager;
import org.codehaus.plexus.redback.tests.AbstractRbacManagerPerformanceTestCase;
import org.junit.After;
import org.junit.Before;

View File

@ -1,4 +1,4 @@
package org.codehaus.plexus.redback.rbac.cached;
package org.apache.archiva.redback.rbac.cached;
/*
* Licensed to the Apache Software Foundation (ASF) under one
@ -21,6 +21,7 @@ package org.codehaus.plexus.redback.rbac.cached;
import net.sf.ehcache.CacheManager;
import org.apache.archiva.redback.rbac.RBACManager;
import org.apache.archiva.redback.rbac.cached.CachedRbacManager;
import org.codehaus.plexus.redback.tests.AbstractRbacManagerTestCase;
import org.junit.Before;

View File

@ -20,11 +20,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"
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
default-lazy-init="false">
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory">
@ -50,7 +47,7 @@
<alias name="commons-configuration" alias="test-conf"/>
<bean name= "rBACManager#cached" class="org.codehaus.plexus.redback.rbac.cached.CachedRbacManager">
<bean name= "rBACManager#cached" class="org.apache.archiva.redback.rbac.cached.CachedRbacManager">
<property name="rbacImpl" ref="rBACManager#memory"/>
<property name="effectiveRoleSetCache" ref="cache#effectiveRoleSet"/>
<property name="operationsCache" ref="cache#operations"/>