Class CallingBundleAccessor

java.lang.Object
com.atlassian.plugin.osgi.hostcomponents.CallingBundleAccessor

public class CallingBundleAccessor extends Object
An accessor to the bundle currently invoking a host component
Since:
3.1.0
  • Constructor Details

    • CallingBundleAccessor

      public CallingBundleAccessor()
  • Method Details

    • getCallingBundle

      public static org.osgi.framework.Bundle getCallingBundle()
      Returns:
      the bundle currently invoking a host component, or null if the method call did not come from an OSGi bundle or tracking is not enabled.