Class FrameworkLoader
java.lang.Object
org.nuxeo.osgi.application.loader.FrameworkLoader
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final StringDefault maximum time to wait for effective stop (in seconds).protected static final StringCopied fromNuxeoLauncher.protected static Attributes.Name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static EnvironmentcreateEnvironment(File home, Map<String, Object> hostEnv) protected static StringgetEnvProperty(String key, Map<String, Object> hostEnv, Properties sysprops, boolean addToSystemProperties) static ClassLoaderprotected static StringBuilderstatic voidinitialize(ClassLoader cl, File home, List<File> bundleFiles, Map<String, Object> hostEnv) static Stringprotected static booleanprotected static voidstatic OSGiAdapterosgi()static voidprotected static voidprintDeploymentOrderInfo(List<File> files) protected static voidstatic voidstart()static voidstop()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:
IOExceptionorg.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
-