public final class MuleContainerBootstrapUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MuleContainerBootstrapUtils.ProxyInfo |
Modifier and Type | Field and Description |
---|---|
static String |
MULE_DOMAIN_FOLDER |
static String |
MULE_LOCAL_JAR_FILENAME |
Modifier and Type | Method and Description |
---|---|
static int |
copy(InputStream input,
OutputStream output) |
static long |
copyLarge(InputStream input,
OutputStream output) |
static File |
getMuleAppDefaultConfigFile(String appName) |
static File |
getMuleAppDir(String appName) |
static File |
getMuleAppsDir() |
static File |
getMuleConfDir() |
static File |
getMuleDomainsDir() |
static File |
getMuleHome() |
static File |
getMuleLibDir() |
static File |
getMuleLocalJarFile() |
static File |
getMuleTmpDir() |
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_DOMAIN_FOLDER
public static final String MULE_LOCAL_JAR_FILENAME
public static boolean isStandalone()
public static File getMuleHome()
public static File getMuleAppsDir()
public static File getMuleAppDir(String appName)
appName
- name of the applicationpublic static File getMuleAppDefaultConfigFile(String appName)
appName
- name of the applicationpublic static File getMuleLibDir()
public static File getMuleTmpDir()
public static File getMuleLocalJarFile()
public static File getMuleDomainsDir()
public static File getMuleConfDir()
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.