public class Initialization extends Object
Constructor and Description |
---|
Initialization() |
Modifier and Type | Method and Description |
---|---|
protected static void |
clearLoadedModules()
Used for testing only
|
static io.tesla.aether.internal.DefaultTeslaAether |
getAetherClient(ExtensionsConfig config) |
static URLClassLoader |
getClassLoaderForCoordinates(io.tesla.aether.TeslaAether aether,
String coordinate) |
static <T> Collection<T> |
getFromExtensions(ExtensionsConfig config,
Class<T> clazz) |
static <T> Set<T> |
getLoadedModules(Class<T> clazz) |
static com.google.inject.Injector |
makeInjectorWithModules(com.google.inject.Injector baseInjector,
Iterable<Object> modules) |
public static <T> Set<T> getLoadedModules(Class<T> clazz)
T
- Module typeclazz
- Module classprotected static void clearLoadedModules()
public static <T> Collection<T> getFromExtensions(ExtensionsConfig config, Class<T> clazz)
public static URLClassLoader getClassLoaderForCoordinates(io.tesla.aether.TeslaAether aether, String coordinate) throws org.eclipse.aether.resolution.DependencyResolutionException, MalformedURLException
org.eclipse.aether.resolution.DependencyResolutionException
MalformedURLException
public static io.tesla.aether.internal.DefaultTeslaAether getAetherClient(ExtensionsConfig config)
Copyright © 2015. All rights reserved.