org.apache.geronimo.system.resolver
Class ExplicitDefaultArtifactResolver

java.lang.Object
  extended by org.apache.geronimo.kernel.repository.DefaultArtifactResolver
      extended by org.apache.geronimo.system.resolver.ExplicitDefaultArtifactResolver
All Implemented Interfaces:
ArtifactResolver, AliasedArtifactResolver, LocalAliasedArtifactResolver

public class ExplicitDefaultArtifactResolver
extends DefaultArtifactResolver
implements LocalAliasedArtifactResolver


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ExplicitDefaultArtifactResolver(String versionMapLocation, ArtifactManager artifactManager, Collection<? extends ListableRepository> repositories, Map<String,String> additionalAliases, ServerInfo serverInfo)
           
ExplicitDefaultArtifactResolver(String versionMapLocation, ArtifactManager artifactManager, Collection<? extends ListableRepository> repositories, ServerInfo serverInfo)
           
 
Method Summary
 void addAliases(Properties properties)
          Add some more artifact aliases.
 String getArtifactAliasesFile()
           
static GBeanInfo getGBeanInfo()
           
 
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
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

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
Method Detail

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.