Rio Project 4.2 API Documentation



org.rioproject.resolver
Class ResolverHelper

java.lang.Object
  extended by org.rioproject.resolver.ResolverHelper
All Implemented Interfaces:
groovy.lang.GroovyObject

public class ResolverHelper
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
ResolverHelper()
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
static Resolver getInstance()
           
static Resolver getInstance(ClassLoader cl)
           
static Logger getLogger()
           
static String getM2_HOME_URI()
           
static String getM2_HOME()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
static Resolver getResolver(ClassLoader cl)
           
static String handleWindows(String s)
           
 Object invokeMethod(String method, Object arguments)
           
static Object resolve(ClassBundle bundle, Resolver resolver, File pom, boolean install)
           
static String[] resolve(String artifact, Resolver resolver, RemoteRepository[] repositories, boolean install)
           
static String[] resolve(String artifact, Resolver resolver, RemoteRepository[] repositories, String codebase, boolean install)
           
static void setM2_HOME_URI(String value)
           
static void setM2_HOME(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolverHelper

public ResolverHelper()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getM2_HOME

public static String getM2_HOME()

setM2_HOME

public static void setM2_HOME(String value)

getM2_HOME_URI

public static String getM2_HOME_URI()

setM2_HOME_URI

public static void setM2_HOME_URI(String value)

getLogger

public static Logger getLogger()

resolve

public static String[] resolve(String artifact,
                               Resolver resolver,
                               RemoteRepository[] repositories,
                               boolean install)

resolve

public static String[] resolve(String artifact,
                               Resolver resolver,
                               RemoteRepository[] repositories,
                               String codebase,
                               boolean install)

resolve

public static Object resolve(ClassBundle bundle,
                             Resolver resolver,
                             File pom,
                             boolean install)

getInstance

public static Resolver getInstance()
                            throws ResolverException
Throws:
ResolverException

getInstance

public static Resolver getInstance(ClassLoader cl)
                            throws ResolverException
Throws:
ResolverException

getResolver

public static Resolver getResolver(ClassLoader cl)
                            throws IOException,
                                   ResolverException
Throws:
IOException
ResolverException

handleWindows

public static String handleWindows(String s)

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.