|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.kernel.repository.DefaultArtifactResolver
public class DefaultArtifactResolver
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
DefaultArtifactResolver(ArtifactManager artifactManager,
Collection repositories,
Map 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. |
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 parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet |
resolveInClassLoader(Collection artifacts)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet |
resolveInClassLoader(Collection artifacts,
Collection 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 repositories, Map explicitResolution)
Method Detail |
---|
public Artifact generateArtifact(Artifact source, String defaultType)
ArtifactResolver
generateArtifact
in interface ArtifactResolver
source
- The artifact to complete (normally partially-populated)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 ArtifactResolver
MultipleMatchesException
public Artifact[] queryArtifacts(Artifact artifact)
ArtifactResolver
queryArtifacts
in interface ArtifactResolver
public LinkedHashSet resolveInClassLoader(Collection artifacts) throws MissingDependencyException
ArtifactResolver
resolveInClassLoader
in interface ArtifactResolver
MissingDependencyException
public LinkedHashSet resolveInClassLoader(Collection artifacts, Collection parentConfigurations) throws MissingDependencyException
ArtifactResolver
resolveInClassLoader
in interface ArtifactResolver
parentConfigurations
- A Collection with entries of type Configuration
MissingDependencyException
public Artifact resolveInClassLoader(Artifact source) throws MissingDependencyException
ArtifactResolver
resolveInClassLoader
in interface ArtifactResolver
MissingDependencyException
public Artifact resolveInClassLoader(Artifact source, Collection parentConfigurations) throws MissingDependencyException
ArtifactResolver
resolveInClassLoader
in interface ArtifactResolver
parentConfigurations
- A Collection with entries of type Configuration
MissingDependencyException
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |