public class FrameworkBootstrap extends Object implements LoaderConstants
ARGS, BUNDLES, CONFIG_DIR, DATA_DIR, DEVMODE, FLUSH_CACHE, HOME_DIR, HOST_NAME, HOST_VERSION, INSTALL_RELOAD_TIMER, LIBS, LOG_DIR, PREPROCESSING, SCAN_FOR_NESTED_JARS, TMP_DIR, WEB_DIR| Constructor and Description |
|---|
FrameworkBootstrap(ClassLoader cl,
File home) |
FrameworkBootstrap(MutableClassLoader loader,
File home) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(File src,
File file) |
static void |
copyToFile(InputStream in,
File file) |
static void |
copyTree(File src,
File dst) |
static void |
deleteAll(File file) |
Map<String,Object> |
env() |
static File |
findFileStartingWidth(File dir,
String prefix) |
ClassLoader |
getClassLoader() |
File |
getHome() |
MutableClassLoader |
getLoader() |
void |
initialize() |
String |
installBundle(File f) |
void |
setDevMode(String devMode) |
void |
setDoPreprocessing(boolean doPreprocessing) |
void |
setFlushCache(boolean flushCache) |
void |
setHostName(String value) |
void |
setHostVersion(String value) |
void |
setScanForNestedJars(boolean scanForNestedJars) |
void |
start() |
void |
stop() |
void |
uninstallBundle(String name) |
public FrameworkBootstrap(ClassLoader cl, File home) throws IOException
IOExceptionpublic FrameworkBootstrap(MutableClassLoader loader, File home) throws IOException
IOExceptionpublic void setHostName(String value)
public void setHostVersion(String value)
public void setDoPreprocessing(boolean doPreprocessing)
public void setDevMode(String devMode)
public void setFlushCache(boolean flushCache)
public void setScanForNestedJars(boolean scanForNestedJars)
public MutableClassLoader getLoader()
public ClassLoader getClassLoader()
public File getHome()
public void initialize()
throws ReflectiveOperationException,
IOException
public void start()
throws ReflectiveOperationException,
IOException
public void stop()
throws ReflectiveOperationException
ReflectiveOperationExceptionpublic String installBundle(File f) throws ReflectiveOperationException
ReflectiveOperationExceptionpublic void uninstallBundle(String name) throws ReflectiveOperationException
ReflectiveOperationExceptionpublic static void deleteAll(File file)
public static void copyFile(File src, File file) throws IOException
IOExceptionpublic static void copyToFile(InputStream in, File file) throws IOException
IOExceptionpublic static void copyTree(File src, File dst) throws IOException
IOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.