@Component(role=ProjectRealmCache.class) public class DefaultProjectRealmCache extends Object implements ProjectRealmCache
ProjectRealmCache.CacheRecord
Constructor and Description |
---|
DefaultProjectRealmCache() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
ProjectRealmCache.CacheRecord |
get(List<? extends ClassRealm> extensionRealms) |
ProjectRealmCache.CacheRecord |
put(List<? extends ClassRealm> extensionRealms,
ClassRealm projectRealm,
DependencyFilter extensionArtifactFilter) |
void |
register(MavenProject project,
ProjectRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
public DefaultProjectRealmCache()
public ProjectRealmCache.CacheRecord get(List<? extends ClassRealm> extensionRealms)
get
in interface ProjectRealmCache
public ProjectRealmCache.CacheRecord put(List<? extends ClassRealm> extensionRealms, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter)
put
in interface ProjectRealmCache
public void flush()
flush
in interface ProjectRealmCache
public void register(MavenProject project, ProjectRealmCache.CacheRecord record)
ProjectRealmCache
register
in interface ProjectRealmCache
project
- The project that employs the plugin realm, must not be null
.record
- The cache record being used for the project, must not be null
.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.