Class BundleUtil
java.lang.Object
org.apache.sling.installer.core.impl.tasks.BundleUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearBundleStart
(TaskResource rsrc) static String
getFragmentHostHeader
(org.osgi.framework.Bundle b) Gets the bundle's Fragment-Host header.static boolean
isBundleActive
(org.osgi.framework.Bundle b) Check if the bundle is active.static boolean
isBundleStart
(TaskResource rsrc) static boolean
isLazyActivatian
(org.osgi.framework.Bundle b) Check if the bundle has the lazy activation policystatic boolean
isSystemBundleFragment
(org.osgi.framework.Bundle installedBundle) static void
markBundleStart
(TaskResource rsrc)
-
Constructor Details
-
BundleUtil
public BundleUtil()
-
-
Method Details
-
markBundleStart
-
isBundleStart
-
clearBundleStart
-
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
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
-