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

Field Summary
static String DEFAULT_ARTIFACT_TYPE
           
 
Method Summary
 Resource locateArtifact(String group, String id, String version)
          Shortcut version which uses the implementation default artifact type DEFAULT_ARTIFACT_TYPE.
 Resource locateArtifact(String group, String id, String version, String type)
          Locate the artifact under the given group, with the given id, version and type.
 

Field Detail

DEFAULT_ARTIFACT_TYPE

static final String DEFAULT_ARTIFACT_TYPE
See Also:
Constant Field Values
Method Detail

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 group
id - artifact id or name
version - artifact version
type - 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.