public abstract class ShutdownSorter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ShutdownSorter.ReverseBundleIdSorter |
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ShutdownSorter() |
| Modifier and Type | Method and Description |
|---|---|
private static org.osgi.framework.Bundle |
findBundleBasedOnServices(java.util.Collection<org.osgi.framework.Bundle> managedBundles) |
static java.util.Collection<org.osgi.framework.Bundle> |
getBundles(java.util.Collection<org.osgi.framework.Bundle> managedBundles)
Sorts the given bundles.
|
private static long |
getHighestServiceId(org.osgi.framework.Bundle bundle) |
private static int |
getRegisteredServiceInUseLowestRanking(org.osgi.framework.Bundle bundle) |
private static java.util.List<org.osgi.framework.Bundle> |
unusedBundles(java.util.Collection<org.osgi.framework.Bundle> unsorted) |
public static java.util.Collection<org.osgi.framework.Bundle> getBundles(java.util.Collection<org.osgi.framework.Bundle> managedBundles)
managedBundles - private static java.util.List<org.osgi.framework.Bundle> unusedBundles(java.util.Collection<org.osgi.framework.Bundle> unsorted)
private static org.osgi.framework.Bundle findBundleBasedOnServices(java.util.Collection<org.osgi.framework.Bundle> managedBundles)
private static int getRegisteredServiceInUseLowestRanking(org.osgi.framework.Bundle bundle)
private static long getHighestServiceId(org.osgi.framework.Bundle bundle)