public interface BundleClassLoaderHelper
We could use fragments that are specific to each OSGi implementation. Using introspection here to keep packaging simple and avoid the multiplication of the jars.
The default implementation relies on introspection and supports equinox-3.5 and felix-2.0.0
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the custom implementation for this interface in a fragment.
|
static BundleClassLoaderHelper |
DEFAULT
The default instance supports felix and equinox
|
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getBundleClassLoader(org.osgi.framework.Bundle bundle) |
static final String CLASS_NAME
static final BundleClassLoaderHelper DEFAULT
ClassLoader getBundleClassLoader(org.osgi.framework.Bundle bundle)
Copyright © 1995-2015 Webtide. All Rights Reserved.