org.apache.geronimo.system.resolver
Class ExplicitDefaultArtifactResolver
java.lang.Object
org.apache.geronimo.kernel.repository.DefaultArtifactResolver
org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver
- All Implemented Interfaces:
- ArtifactResolver, AliasedArtifactResolver, LocalAliasedArtifactResolver
public class ExplicitDefaultArtifactResolver
- extends DefaultArtifactResolver
- implements LocalAliasedArtifactResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
ExplicitDefaultArtifactResolver
public ExplicitDefaultArtifactResolver(String versionMapLocation,
ArtifactManager artifactManager,
Collection<? extends ListableRepository> repositories,
ServerInfo serverInfo)
throws IOException
- Throws:
IOException
ExplicitDefaultArtifactResolver
public ExplicitDefaultArtifactResolver(String versionMapLocation,
ArtifactManager artifactManager,
Collection<? extends ListableRepository> repositories,
Map<String,String> additionalAliases,
ServerInfo serverInfo)
throws IOException
- Throws:
IOException
getArtifactAliasesFile
public String getArtifactAliasesFile()
- Specified by:
getArtifactAliasesFile
in interface LocalAliasedArtifactResolver
addAliases
public void addAliases(Properties properties)
throws IOException
- Add some more artifact aliases. The plugin installer calls this
TODO when a plugin is uninstalled, remove the aliases?
- Specified by:
addAliases
in interface AliasedArtifactResolver
- Parameters:
properties
- Properties object containing the new aliases
- Throws:
IOException
- if the modified aliases map cannot be saved.
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.