org.apache.maven.plugin
Class DefaultExtensionRealmCache
java.lang.Object
   org.apache.maven.plugin.DefaultExtensionRealmCache
org.apache.maven.plugin.DefaultExtensionRealmCache
- All Implemented Interfaces: 
- ExtensionRealmCache
- @Component(role=ExtensionRealmCache.class)
public class DefaultExtensionRealmCache 
- extends Object- implements ExtensionRealmCache
Default extension realm cache implementation. Assumes cached data does not change.
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultExtensionRealmCache
public DefaultExtensionRealmCache()
get
public ExtensionRealmCache.CacheRecord get(List<? extends Artifact> extensionArtifacts)
- 
- Specified by:
- getin interface- ExtensionRealmCache
 
- 
 
put
public ExtensionRealmCache.CacheRecord put(List<? extends Artifact> extensionArtifacts,
                                           ClassRealm extensionRealm,
                                           ExtensionDescriptor extensionDescriptor)
- 
- Specified by:
- putin interface- ExtensionRealmCache
 
- 
 
flush
public void flush()
- 
- Specified by:
- flushin interface- ExtensionRealmCache
 
- 
 
register
public void register(MavenProject project,
                     ExtensionRealmCache.CacheRecord record)
- Description copied from interface: ExtensionRealmCache
- Registers the specified cache record for usage with the given project. Integrators can use the information
 collected from this method in combination with a custom cache implementation to dispose unused records from the
 cache.
 
- 
- Specified by:
- registerin interface- ExtensionRealmCache
 
- 
- Parameters:
- 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-2012 The Apache Software Foundation. All Rights Reserved.