public interface PluginRealmCache
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | PluginRealmCache.CacheRecord | 
| static interface  | PluginRealmCache.KeyA cache key. | 
| Modifier and Type | Method and Description | 
|---|---|
| PluginRealmCache.Key | createKey(Plugin plugin,
                  ClassLoader parentRealm,
                  Map<String,ClassLoader> foreignImports,
                  DependencyFilter dependencyFilter,
                  List<RemoteRepository> repositories,
                  RepositorySystemSession session) | 
| void | flush() | 
| PluginRealmCache.CacheRecord | get(PluginRealmCache.Key key) | 
| PluginRealmCache.CacheRecord | put(PluginRealmCache.Key key,
      ClassRealm pluginRealm,
      List<Artifact> pluginArtifacts) | 
| void | register(MavenProject project,
                PluginRealmCache.CacheRecord record)Registers the specified cache record for usage with the given project. | 
PluginRealmCache.Key createKey(Plugin plugin, ClassLoader parentRealm, Map<String,ClassLoader> foreignImports, DependencyFilter dependencyFilter, List<RemoteRepository> repositories, RepositorySystemSession session)
PluginRealmCache.CacheRecord put(PluginRealmCache.Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts)
void flush()
void register(MavenProject project, PluginRealmCache.CacheRecord record)
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.