Class FrameworkLoader
java.lang.Object
org.nuxeo.osgi.application.loader.FrameworkLoader
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected static final String
Default maximum time to wait for effective stop (in seconds).protected static final String
Copied fromNuxeoLauncher
.protected static Attributes.Name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
protected static StringBuilder
static void
initialize
(ClassLoader cl, File home, List<File> bundleFiles, Map<String, Object> hostEnv) static String
protected static boolean
protected static void
static OSGiAdapter
osgi()
static void
protected static void
printDeploymentOrderInfo
(List<File> files) protected static void
static void
start()
static void
stop()
static void
-
Field Details
-
HOST_NAME
- See Also:
-
HOST_VERSION
- See Also:
-
LIBS
- See Also:
-
BUNDLES
- See Also:
-
DEVMODE
- See Also:
-
PREPROCESSING
- See Also:
-
SCAN_FOR_NESTED_JARS
- See Also:
-
FLUSH_CACHE
- See Also:
-
ARGS
- See Also:
-
STOP_MAX_WAIT_PARAM
Copied fromNuxeoLauncher
.- Since:
- 2023.0
- See Also:
-
STOP_MAX_WAIT_DEFAULT
Default maximum time to wait for effective stop (in seconds).Copied from
NuxeoLauncher
.- Since:
- 2023.0
- See Also:
-
SYMBOLIC_NAME
-
-
Constructor Details
-
FrameworkLoader
public FrameworkLoader()
-
-
Method Details
-
osgi
-
getLoader
-
initialize
-
start
public static void start() throws org.osgi.framework.BundleException- Throws:
org.osgi.framework.BundleException
-
stop
public static void stop() throws org.osgi.framework.BundleException- Throws:
org.osgi.framework.BundleException
-
printDeploymentOrderInfo
-
isBundle
-
uninstall
- Throws:
org.osgi.framework.BundleException
-
install
- Throws:
IOException
org.osgi.framework.BundleException
-
preprocess
public static void preprocess() -
loadSystemProperties
protected static void loadSystemProperties() -
getEnvProperty
-
createEnvironment
-
printStartMessage
protected static void printStartMessage() -
getStartMessage
- Returns:
- Environment summary
- Since:
- 5.5
-