org.apache.maven.index
Class DefaultArtifactContextProducer

java.lang.Object
  extended by org.apache.maven.index.DefaultArtifactContextProducer
All Implemented Interfaces:
ArtifactContextProducer

@Component(role=ArtifactContextProducer.class)
public class DefaultArtifactContextProducer
extends Object
implements ArtifactContextProducer

A default implementation of the ArtifactContextProducer.

Author:
Tamas Cservenak, Eugene Kuleshov

Field Summary
 
Fields inherited from interface org.apache.maven.index.ArtifactContextProducer
ROLE
 
Constructor Summary
DefaultArtifactContextProducer()
           
 
Method Summary
 ArtifactContext getArtifactContext(IndexingContext context, File file)
          Get ArtifactContext for given pom or artifact (jar, war, etc).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactContextProducer

public DefaultArtifactContextProducer()
Method Detail

getArtifactContext

public ArtifactContext getArtifactContext(IndexingContext context,
                                          File file)
Get ArtifactContext for given pom or artifact (jar, war, etc). A file can be

Specified by:
getArtifactContext in interface ArtifactContextProducer


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.