o Renamed classes to better describe purpose

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-09-22 13:10:47 +00:00
parent 704b29c2d4
commit 3646d923a9
3 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ public class DefaultBuildPluginManager
private PlexusContainer container;
@Requirement
private PluginCache pluginCache;
private PluginRealmCache pluginCache;
@Requirement
private MavenPluginManager mavenPluginManager;
@ -158,7 +158,7 @@ public class DefaultBuildPluginManager
ArtifactRepository localRepository = session.getLocalRepository();
List<ArtifactRepository> remoteRepositories = project.getPluginArtifactRepositories();
PluginCache.CacheRecord cacheRecord = pluginCache.get( plugin, project, localRepository, remoteRepositories );
PluginRealmCache.CacheRecord cacheRecord = pluginCache.get( plugin, project, localRepository, remoteRepositories );
if ( cacheRecord != null )
{

View File

@ -37,9 +37,9 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Default PluginCache implementation. Assumes cached data does not change.
*/
@Component( role = PluginCache.class )
public class DefaultPluginCache
implements PluginCache
@Component( role = PluginRealmCache.class )
public class DefaultPluginRealmCache
implements PluginRealmCache
{
protected static class CacheKey

View File

@ -27,7 +27,7 @@ import org.apache.maven.model.Plugin;
import org.apache.maven.project.MavenProject;
import org.codehaus.plexus.classworlds.realm.ClassRealm;
public interface PluginCache
public interface PluginRealmCache
{
public static class CacheRecord