The handler adds the bundle jar and all assocaited Bundle-Claspath jars into the classpath to be scanned.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addBundle(final Object
the bundle wiring bundleWiring, final ClassLoader the classloader classLoader, final ClasspathOrder the classpath order out classpathOrderOut, final Set<Object> the bundles bundles, final ScanSpec the scan spec scanSpec, final LogNode the log log)Adds the bundle. |
| public static boolean | canHandle(final Class<?>
the classLoaderClass, final LogNode ClassLoader class or one of its superclasses.the log log)Check whether this |
| public static void | findClassLoaderOrder(final ClassLoader
the classLoader, final ClassLoaderOrder ClassLoader to find the order for.a classLoaderOrder, final LogNode ClassLoaderOrder object to update.the log log)Find the |
| public static void | findClasspathOrder(final ClassLoader
the classLoader, final ClasspathOrder ClassLoader to find the classpath entries order for.a classpathOrder, final ScanSpec ClasspathOrder object to update.the scanSpec, final LogNode ScanSpec.the log. log)Find the classpath entries for the associated |
| private static File | Returns: the content locationthe content object content, final ReflectionUtils reflectionUtils)Get the content location. |
| FelixClassLoaderHandler | back to summary |
|---|---|
| private FelixClassLoaderHandler() Class cannot be constructed. | |
| addBundle | back to summary |
|---|---|
| private static void addBundle(final Object bundleWiring, final ClassLoader classLoader, final ClasspathOrder classpathOrderOut, final Set<Object> bundles, final ScanSpec scanSpec, final LogNode log) Adds the bundle.
| |
| canHandle | back to summary |
|---|---|
| public static boolean canHandle(final Class<?> classLoaderClass, final LogNode log) Check whether this
| |
| findClassLoaderOrder | back to summary |
|---|---|
| public static void findClassLoaderOrder(final ClassLoader classLoader, final ClassLoaderOrder classLoaderOrder, final LogNode log) Find the
| |
| findClasspathOrder | back to summary |
|---|---|
| public static void findClasspathOrder(final ClassLoader classLoader, final ClasspathOrder classpathOrder, final ScanSpec scanSpec, final LogNode log) Find the classpath entries for the associated
| |
| getContentLocation | back to summary |
|---|---|
| private static File getContentLocation(final Object content, final ReflectionUtils reflectionUtils) Get the content location. | |