Class BundleUtil

java.lang.Object
org.apache.sling.installer.core.impl.tasks.BundleUtil

public abstract class BundleUtil extends Object
  • Constructor Details

    • BundleUtil

      public BundleUtil()
  • Method Details

    • markBundleStart

      public static void markBundleStart(TaskResource rsrc)
    • isBundleStart

      public static boolean isBundleStart(TaskResource rsrc)
    • clearBundleStart

      public static void clearBundleStart(TaskResource rsrc)
    • isSystemBundleFragment

      public static boolean isSystemBundleFragment(org.osgi.framework.Bundle installedBundle)
    • isBundleActive

      public static boolean isBundleActive(org.osgi.framework.Bundle b)
      Check if the bundle is active. This is true if the bundle has the active state or of the bundle is in the starting state and has the lazy activation policy. Or if the bundle is a fragment, it's considered active as well
    • getFragmentHostHeader

      public static String getFragmentHostHeader(org.osgi.framework.Bundle b)
      Gets the bundle's Fragment-Host header.
    • isLazyActivatian

      public static boolean isLazyActivatian(org.osgi.framework.Bundle b)
      Check if the bundle has the lazy activation policy