Class BundleContextUtil
- java.lang.Object
-
- org.apache.felix.webconsole.internal.core.BundleContextUtil
-
public class BundleContextUtil extends Object
TheBundleContextUtil
class.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FWK_PROP_WORK_CONTEXT
This property defines which bundle context the web console plugins use to get the list of bundles and services.static String
WORK_CTX_OWN
The web console uses the own bundle context.static String
WORK_CTX_SYSTEM
The web console uses the system bundle context.
-
Constructor Summary
Constructors Constructor Description BundleContextUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.osgi.framework.BundleContext
getWorkingBundleContext(org.osgi.framework.BundleContext bc)
Get the working bundle context: the bundle context to lookup bundles and services.
-
-
-
Field Detail
-
FWK_PROP_WORK_CONTEXT
public static final String FWK_PROP_WORK_CONTEXT
This property defines which bundle context the web console plugins use to get the list of bundles and services. It defaults toWORK_CTX_OWN
. IfWORK_CTX_SYSTEM
is specified, the web console plugins use the system bundle context. If an invalid value is specified, the default is used. This setting effects only the built-in plugins.- See Also:
- Constant Field Values
-
WORK_CTX_OWN
public static final String WORK_CTX_OWN
The web console uses the own bundle context. (default)- See Also:
- Constant Field Values
-
WORK_CTX_SYSTEM
public static final String WORK_CTX_SYSTEM
The web console uses the system bundle context.- See Also:
- Constant Field Values
-
-