com.caucho.loader.module
Class ArtifactRepository

java.lang.Object
  extended by com.caucho.loader.module.ArtifactRepository

public class ArtifactRepository
extends java.lang.Object

A jar artifact in the repository


Method Summary
 void addResolver(ArtifactResolver resolver)
           
static ArtifactRepository create()
           
static ArtifactRepository create(java.lang.ClassLoader loader)
           
static ArtifactRepository getCurrent()
           
protected  void resolve(java.util.ArrayList<Artifact> artifactList, ArtifactDependency dependency)
           
 java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency)
           
 java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency, java.util.ArrayList<ArtifactDependency> peerDependencyList)
           
 java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency, ArtifactDependency[] peerDependencyList)
           
protected  java.util.ArrayList<ArtifactDependency> resolvePeer(ArtifactDependency dependency, java.util.ArrayList<ArtifactDependency> peerList)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ArtifactRepository create()

create

public static ArtifactRepository create(java.lang.ClassLoader loader)

getCurrent

public static ArtifactRepository getCurrent()

addResolver

public void addResolver(ArtifactResolver resolver)

resolve

public java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency)

resolve

public java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency,
                                             ArtifactDependency[] peerDependencyList)

resolve

public java.util.ArrayList<Artifact> resolve(ArtifactDependency dependency,
                                             java.util.ArrayList<ArtifactDependency> peerDependencyList)

resolve

protected void resolve(java.util.ArrayList<Artifact> artifactList,
                       ArtifactDependency dependency)

resolvePeer

protected java.util.ArrayList<ArtifactDependency> resolvePeer(ArtifactDependency dependency,
                                                              java.util.ArrayList<ArtifactDependency> peerList)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object