|
ShrinkWrap Resolver API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.resolver.api.Resolvers
public class Resolvers
Client entry point to resolve artifacts from a set of coordinates in a repository-based system. To create a new
instance, pass the desired view (subtype of ResolverSystem) into either use(Class) or
use(Class, ClassLoader).
| Constructor Summary | |
|---|---|
Resolvers()
|
|
| Method Summary | ||
|---|---|---|
static
|
configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz)
Returns a factory to create configured ResolverSystem instances of the specified type. |
|
static
|
configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
Returns a factory to create configured ResolverSystem instances of the specified type. |
|
static
|
use(Class<RESOLVERSYSTEMTYPE> clazz)
Creates and returns a new instance of the specified view type. |
|
static
|
use(Class<RESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
Creates and returns a new instance of the specified view type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Resolvers()
| Method Detail |
|---|
public static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> ConfiguredResolverSystemFactory<RESOLVERSYSTEMTYPE,CONFIGURABLERESOLVERSYSTEMTYPE> configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz)
throws IllegalArgumentException
ResolverSystem instances of the specified type. New instances will
be created using the current Thread.getContextClassLoader().
clazz -
IllegalArgumentException - If the type is not specified
public static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> ConfiguredResolverSystemFactory<RESOLVERSYSTEMTYPE,CONFIGURABLERESOLVERSYSTEMTYPE> configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
throws IllegalArgumentException
ResolverSystem instances of the specified type. New instances will
be created using the specified ClassLoader.
clazz - cl -
IllegalArgumentException - If the type or ClassLoader is not specified
public static <RESOLVERSYSTEMTYPE extends ResolverSystem> RESOLVERSYSTEMTYPE use(Class<RESOLVERSYSTEMTYPE> clazz)
throws IllegalArgumentException
clazz -
IllegalArgumentException
public static <RESOLVERSYSTEMTYPE extends ResolverSystem> RESOLVERSYSTEMTYPE use(Class<RESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
throws IllegalArgumentException
clazz -
IllegalArgumentException - If either argument is not supplied
|
ShrinkWrap Resolver API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||