public class DefaultMuleClassPathConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
MULE_DIR |
protected static String |
OPT_DIR |
protected static String |
USER_DIR |
Constructor and Description |
---|
DefaultMuleClassPathConfig(File muleHome,
File muleBase)
Constructs a new DefaultMuleClassPathConfig.
|
Modifier and Type | Method and Description |
---|---|
void |
addFile(File jar) |
void |
addFiles(List<File> files) |
void |
addURL(URL url)
Add a URL to Mule's classpath.
|
void |
addURLs(List<URL> newUrls)
Setter for property 'urls'.
|
List<URL> |
getURLs() |
protected List<File> |
listJars(File path)
Find and if necessary filter the jars for classpath.
|
protected static final String MULE_DIR
protected static final String USER_DIR
protected static final String OPT_DIR
public void addURLs(List<URL> newUrls)
newUrls
- Value to set for property 'urls'.public void addURL(URL url)
url
- folder (should end with a slash) or jar pathpublic void addFile(File jar)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.