public class ExecutionEnvironmentUtils extends Object
Constructor and Description |
---|
ExecutionEnvironmentUtils() |
Modifier and Type | Method and Description |
---|---|
static ExecutionEnvironment |
getExecutionEnvironment(String profileName)
Get the execution environment for the specified OSGi profile name.
|
static void |
loadVMProfile(Properties properties) |
public static ExecutionEnvironment getExecutionEnvironment(String profileName) throws UnknownEnvironmentException
profileName
- profile name value as specified for key "Bundle-RequiredExecutionEnvironment" in
MANIFEST.MFExecutionEnvironment
.UnknownEnvironmentException
- if profileName is unknown.public static void loadVMProfile(Properties properties)
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.