public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessToSystemBundleIsAllowed(long bundleId,
org.apache.felix.service.command.CommandSession session)
Ask the user to confirm the access to a system bundle
|
static String |
getBundleName(org.osgi.framework.Bundle bundle) |
static String |
getUnderlineString(String s) |
static String |
getValueString(Object obj) |
static boolean |
isASystemBundle(org.osgi.framework.BundleContext bundleContext,
org.osgi.framework.Bundle bundle)
Check if a bundle is a system bundle (start level < 50)
|
public static String getBundleName(org.osgi.framework.Bundle bundle)
public static boolean isASystemBundle(org.osgi.framework.BundleContext bundleContext,
org.osgi.framework.Bundle bundle)
bundleContext - bundle - public static boolean accessToSystemBundleIsAllowed(long bundleId,
org.apache.felix.service.command.CommandSession session)
throws IOException
bundleId - session - IOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.