org.springframework.osgi.test.provisioning
Interface ArtifactLocator
public interface ArtifactLocator
Interface describing the contract for finding dependencies artifacts.
Implementations can rely on various lookup strategies for finding the actual
artifacts (i.e. Maven, Ant, Ivy, etc...)
- Author:
- Costin Leau
DEFAULT_ARTIFACT_TYPE
static final String DEFAULT_ARTIFACT_TYPE
- See Also:
- Constant Field Values
locateArtifact
Resource locateArtifact(String group,
String id,
String version,
String type)
- Locate the artifact under the given group, with the given id, version and
type. Implementations are free to provide defaults, in case null values
are passed in. The only required field is #id.
- Parameters:
group
- artifact groupid
- artifact id or nameversion
- artifact versiontype
- artifact type
- Returns:
locateArtifact
Resource locateArtifact(String group,
String id,
String version)
- Shortcut version which uses the implementation default artifact type
DEFAULT_ARTIFACT_TYPE
.
- Parameters:
group
- id
- version
-
- Returns:
Copyright © 2006-2007 Spring Framework. All Rights Reserved.