Class BundleUtil
java.lang.Object
org.apache.sling.installer.core.impl.tasks.BundleUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearBundleStart(TaskResource rsrc) static StringgetFragmentHostHeader(org.osgi.framework.Bundle b) Gets the bundle's Fragment-Host header.static booleanisBundleActive(org.osgi.framework.Bundle b) Check if the bundle is active.static booleanisBundleStart(TaskResource rsrc) static booleanisLazyActivatian(org.osgi.framework.Bundle b) Check if the bundle has the lazy activation policystatic booleanisSystemBundleFragment(org.osgi.framework.Bundle installedBundle) static voidmarkBundleStart(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
-