public final class AriesFrameworkUtil extends Object
| Constructor and Description |
|---|
AriesFrameworkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ClassLoader |
getClassLoader(Bundle b)
This method attempts to get the classloader for a bundle.
|
static ClassLoader |
getClassLoaderForced(Bundle b)
This method attempts to get the classloader for a bundle.
|
static void |
safeUnregisterService(ServiceRegistration reg)
Safely unregister the supplied ServiceRegistration, for when you don't
care about the potential IllegalStateException and don't want
it to run wild through your code
|
public static ClassLoader getClassLoader(Bundle b)
b - the bundle whose classloader is desired.public static ClassLoader getClassLoaderForced(Bundle b)
b - the bundle to get a classloader forpublic static void safeUnregisterService(ServiceRegistration reg)
reg - The ServiceRegistration, may be nullCopyright © 2010 - 2020 Adobe. All Rights Reserved