.. java:import:: org.apache.commons.lang StringUtils .. java:import:: org.osgi.framework Bundle .. java:import:: org.osgi.framework BundleContext WebBundleUtil ============= .. java:package:: org.motechproject.osgi.web.util :noindex: .. java:type:: public final class WebBundleUtil Utility class that's purpose is easing bundle related operations/searches. Methods ------- findBundleByName ^^^^^^^^^^^^^^^^ .. java:method:: public static Bundle findBundleByName(BundleContext bundleContext, String name) :outertype: WebBundleUtil findBundleBySymbolicName ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static Bundle findBundleBySymbolicName(BundleContext bundleContext, String symbolicName) :outertype: WebBundleUtil getContextLocation ^^^^^^^^^^^^^^^^^^ .. java:method:: public static String getContextLocation(Bundle bundle) :outertype: WebBundleUtil getContextPath ^^^^^^^^^^^^^^ .. java:method:: public static String getContextPath(Bundle bundle) :outertype: WebBundleUtil getModuleId ^^^^^^^^^^^ .. java:method:: public static String getModuleId(Bundle bundle) :outertype: WebBundleUtil