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