|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.kernel.repository.DefaultArtifactResolver
public class DefaultArtifactResolver
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
DefaultArtifactResolver(ArtifactManager artifactManager,
Collection<? extends ListableRepository> repositories,
Map<Artifact,Artifact> explicitResolution)
|
|
DefaultArtifactResolver(ArtifactManager artifactManager,
ListableRepository repository)
|
|
| Method Summary | |
|---|---|
Artifact |
generateArtifact(Artifact source,
String defaultType)
Used to generate a fully-populated Artifact from a partially-populated Artifact when you're about to deploy/save a new artifact. |
protected Map<Artifact,Artifact> |
getExplicitResolution()
|
static GBeanInfo |
getGBeanInfo()
|
Artifact |
queryArtifact(Artifact artifact)
Used to search for existing artifacts in the server that match the supplied artifact (which may be partially-populated). |
Artifact[] |
queryArtifacts(Artifact artifact)
Used to search for existing artifacts in the server that match the supplied artifact (which may be partially-populated). |
Artifact |
resolveInClassLoader(Artifact source)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
Artifact |
resolveInClassLoader(Artifact source,
Collection<Configuration> parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet<Artifact> |
resolveInClassLoader(Collection<Artifact> artifacts)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet<Artifact> |
resolveInClassLoader(Collection<Artifact> artifacts,
Collection<Configuration> parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public DefaultArtifactResolver(ArtifactManager artifactManager,
ListableRepository repository)
public DefaultArtifactResolver(ArtifactManager artifactManager,
Collection<? extends ListableRepository> repositories,
Map<Artifact,Artifact> explicitResolution)
| Method Detail |
|---|
protected Map<Artifact,Artifact> getExplicitResolution()
public Artifact generateArtifact(Artifact source,
String defaultType)
ArtifactResolver
generateArtifact in interface ArtifactResolversource - The artifact to complete (normally partially-resolved)defaultType - The type to use for the resulting artifact if the source
artifact doesn't have a type set
public Artifact queryArtifact(Artifact artifact)
throws MultipleMatchesException
ArtifactResolver
queryArtifact in interface ArtifactResolverartifact - incompletely resolved artifact to match
MultipleMatchesException - if there is more than one matchpublic Artifact[] queryArtifacts(Artifact artifact)
ArtifactResolver
queryArtifacts in interface ArtifactResolverartifact - the Artifact to match.
public LinkedHashSet<Artifact> resolveInClassLoader(Collection<Artifact> artifacts)
throws MissingDependencyException
ArtifactResolver
resolveInClassLoader in interface ArtifactResolverartifacts - incompletely resolved Artifact
MissingDependencyException - if no matching Artifact can be found.
public LinkedHashSet<Artifact> resolveInClassLoader(Collection<Artifact> artifacts,
Collection<Configuration> parentConfigurations)
throws MissingDependencyException
ArtifactResolver
resolveInClassLoader in interface ArtifactResolverartifacts - incompletely resolved Artifacts to matchparentConfigurations - Configurations to search in
MissingDependencyException - if no matching Artifact can be found.
public Artifact resolveInClassLoader(Artifact source)
throws MissingDependencyException
ArtifactResolver
resolveInClassLoader in interface ArtifactResolversource - incompletely resolved Artifact
MissingDependencyException - if no matching Artifact can be found.
public Artifact resolveInClassLoader(Artifact source,
Collection<Configuration> parentConfigurations)
throws MissingDependencyException
ArtifactResolver
resolveInClassLoader in interface ArtifactResolversource - incompletely resolved ArtifactparentConfigurations - A Collection with entries of type Configuration
MissingDependencyException - if no matching Artifact can be found.public static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||