@Component(role=ExtensionRealmCache.class) public class DefaultExtensionRealmCache extends Object implements ExtensionRealmCache
ExtensionRealmCache.CacheRecord
Constructor and Description |
---|
DefaultExtensionRealmCache() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
ExtensionRealmCache.CacheRecord |
get(List<? extends Artifact> extensionArtifacts) |
ExtensionRealmCache.CacheRecord |
put(List<? extends Artifact> extensionArtifacts,
ClassRealm extensionRealm,
ExtensionDescriptor extensionDescriptor) |
void |
register(MavenProject project,
ExtensionRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
public DefaultExtensionRealmCache()
public ExtensionRealmCache.CacheRecord get(List<? extends Artifact> extensionArtifacts)
get
in interface ExtensionRealmCache
public ExtensionRealmCache.CacheRecord put(List<? extends Artifact> extensionArtifacts, ClassRealm extensionRealm, ExtensionDescriptor extensionDescriptor)
put
in interface ExtensionRealmCache
public void flush()
flush
in interface ExtensionRealmCache
public void register(MavenProject project, ExtensionRealmCache.CacheRecord record)
ExtensionRealmCache
register
in interface ExtensionRealmCache
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–2013 The Apache Software Foundation. All rights reserved.