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:
- org.apache.geronimo.kernel.repository.ArtifactResolver, AliasedArtifactResolver, LocalAliasedArtifactResolver
@GBean(j2eeType="ArtifactResolver")
public class ExplicitDefaultArtifactResolver
- extends org.apache.geronimo.kernel.repository.DefaultArtifactResolver
- implements LocalAliasedArtifactResolver
- Version:
- $Rev: 1180776 $ $Date: 2011-10-10 11:39:51 +0800 (Mon, 10 Oct 2011) $
| Methods inherited from class org.apache.geronimo.kernel.repository.DefaultArtifactResolver |
generateArtifact, getExplicitResolution, queryArtifact, queryArtifacts, resolveInClassLoader, resolveInClassLoader, resolveInClassLoader, resolveInClassLoader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.geronimo.kernel.repository.ArtifactResolver |
generateArtifact, queryArtifact, queryArtifacts, resolveInClassLoader, resolveInClassLoader, resolveInClassLoader, resolveInClassLoader |
ExplicitDefaultArtifactResolver
public ExplicitDefaultArtifactResolver(String versionMapLocation,
org.apache.geronimo.kernel.repository.ArtifactManager artifactManager,
Collection<org.apache.geronimo.kernel.repository.ListableRepository> repositories,
ServerInfo serverInfo)
throws IOException
- Throws:
IOException
ExplicitDefaultArtifactResolver
public ExplicitDefaultArtifactResolver(@ParamAttribute(name="versionMapLocation")
String versionMapLocation,
@ParamReference(name="ArtifactManager",namingType="ArtifactManager")
org.apache.geronimo.kernel.repository.ArtifactManager artifactManager,
@ParamReference(name="Repositories",namingType="Repository")
Collection<org.apache.geronimo.kernel.repository.ListableRepository> repositories,
@ParamAttribute(name="additionalAliases")
Map<String,String> additionalAliases,
@ParamReference(name="ServerInfo")
ServerInfo serverInfo,
@ParamReference(name="ConfigurationManagers",namingType="ConfigurationManager")
Collection<org.apache.geronimo.kernel.config.ConfigurationManager> configurationManagers)
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.
removeAliases
public void removeAliases(Properties properties)
throws IOException
- Throws:
IOException
getProperties
public Properties getProperties()
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.