public final class AriesFrameworkUtil
extends java.lang.Object
Constructor and Description |
---|
AriesFrameworkUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.ClassLoader |
getClassLoader(Bundle b)
This method attempts to get the classloader for a bundle.
|
static java.lang.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 java.lang.ClassLoader getClassLoader(Bundle b)
b
- the bundle whose classloader is desired.public static java.lang.ClassLoader getClassLoaderForced(Bundle b)
b
- the bundle to get a classloader forpublic static void safeUnregisterService(ServiceRegistration reg)
reg
- The ServiceRegistration
, may be null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"