Modifier and Type | Field and Description |
---|---|
static short |
WHEN_EXISTS_RETURN_JAR |
static short |
WHEN_EXISTS_RETURN_NULL |
static short |
WHEN_EXISTS_THROW_EXP |
static short |
WHEN_EXISTS_UPDATE |
Constructor and Description |
---|
JarLoader() |
Modifier and Type | Method and Description |
---|---|
static boolean |
changed(ConfigWeb config,
String[] jarNames) |
static Resource[] |
download(Config config,
String[] jars) |
static boolean |
exists(ConfigWeb config,
String[] jarNames) |
static ClassLoader |
loadJars(Config config,
String[] jars,
ClassLoader parent)
this loads the given jars from update provider, copy it to lib directory (where lucee.jar is located) and load them to a ClassLoader
|
public static final short WHEN_EXISTS_UPDATE
public static final short WHEN_EXISTS_RETURN_JAR
public static final short WHEN_EXISTS_THROW_EXP
public static final short WHEN_EXISTS_RETURN_NULL
public JarLoader()
public static ClassLoader loadJars(Config config, String[] jars, ClassLoader parent) throws IOException
pc
- jars
- jars names to LoadIOException
public static Resource[] download(Config config, String[] jars) throws IOException
IOException
Copyright © 2015 Lucee