public final class MuleBootstrapUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MuleBootstrapUtils.ProxyInfo |
Modifier and Type | Field and Description |
---|---|
static String |
MULE_LOCAL_JAR_FILENAME |
Modifier and Type | Method and Description |
---|---|
static void |
addLibrariesToClasspath(List urls) |
static void |
addLocalJarFilesToClasspath(File muleHome,
File muleBase) |
static int |
copy(InputStream input,
OutputStream output) |
static long |
copyLarge(InputStream input,
OutputStream output) |
static File |
getMuleHomeFile() |
static File |
getMuleLibDir() |
static File |
getMuleLocalJarFile() |
static URL |
getResource(String resourceName,
Class callingClass) |
static boolean |
isStandalone()
Whether Mule is running embedded or standalone.
|
static boolean |
renameFile(File srcFile,
File destFile) |
static boolean |
renameFileHard(File srcFile,
File destFile) |
public static final String MULE_LOCAL_JAR_FILENAME
public static boolean isStandalone()
public static File getMuleHomeFile()
public static File getMuleLibDir()
public static File getMuleLocalJarFile()
public static void addLocalJarFilesToClasspath(File muleHome, File muleBase) throws Exception
Exception
public static void addLibrariesToClasspath(List urls) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
public static boolean renameFile(File srcFile, File destFile) throws IOException
IOException
FileUtils.renameFile(java.lang.String, java.lang.String)
public static boolean renameFileHard(File srcFile, File destFile) throws IOException
public static int copy(InputStream input, OutputStream output) throws IOException
IOException
IOUtils.copy(java.io.InputStream, java.io.OutputStream)
public static long copyLarge(InputStream input, OutputStream output) throws IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.