public class FrameworkLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARGS |
static String |
BUNDLES |
static String |
DEVMODE |
static String |
FLUSH_CACHE |
static String |
HOST_NAME |
static String |
HOST_VERSION |
static String |
LIBS |
static String |
PREPROCESSING |
static String |
SCAN_FOR_NESTED_JARS |
protected static Attributes.Name |
SYMBOLIC_NAME |
static String |
TMP_DIR
Deprecated.
since 5.4.2 prefer use of
Environment.NUXEO_TMP_DIR |
| Constructor and Description |
|---|
FrameworkLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected static Environment |
createEnvironment(File home,
Map<String,Object> hostEnv) |
protected static String |
getEnvProperty(String key,
Map<String,Object> hostEnv,
Properties sysprops,
boolean addToSystemProperties) |
static ClassLoader |
getLoader() |
protected static StringBuilder |
getStartMessage() |
static void |
initialize(ClassLoader cl,
File home,
List<File> bundleFiles,
Map<String,Object> hostEnv) |
static String |
install(File f) |
protected static boolean |
isBundle(File f) |
protected static void |
loadSystemProperties() |
static OSGiAdapter |
osgi() |
static void |
preprocess() |
protected static void |
printDeploymentOrderInfo(List<File> files) |
protected static void |
printStartMessage() |
static void |
start() |
static void |
stop() |
static void |
uninstall(String symbolicName) |
public static final String HOST_NAME
public static final String HOST_VERSION
@Deprecated public static final String TMP_DIR
Environment.NUXEO_TMP_DIRpublic static final String LIBS
public static final String BUNDLES
public static final String DEVMODE
public static final String PREPROCESSING
public static final String SCAN_FOR_NESTED_JARS
public static final String FLUSH_CACHE
public static final String ARGS
protected static Attributes.Name SYMBOLIC_NAME
public FrameworkLoader()
public static OSGiAdapter osgi()
public static ClassLoader getLoader()
public static void initialize(ClassLoader cl, File home, List<File> bundleFiles, Map<String,Object> hostEnv)
public static void start() throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic static void stop() throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionprotected static void printDeploymentOrderInfo(List<File> files)
public static void uninstall(String symbolicName) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic static String install(File f) throws IOException, org.osgi.framework.BundleException
IOExceptionorg.osgi.framework.BundleExceptionpublic static void preprocess()
protected static void loadSystemProperties()
protected static String getEnvProperty(String key, Map<String,Object> hostEnv, Properties sysprops, boolean addToSystemProperties)
protected static Environment createEnvironment(File home, Map<String,Object> hostEnv)
protected static void printStartMessage()
protected static StringBuilder getStartMessage()
Copyright © 2019 Nuxeo. All rights reserved.