Class CallingBundleAccessor
java.lang.Object
com.atlassian.plugin.osgi.hostcomponents.CallingBundleAccessor
An accessor to the bundle currently invoking a host component
- Since:
- 3.1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CallingBundleAccessor
public CallingBundleAccessor()
-
-
Method Details
-
getCallingBundle
public static org.osgi.framework.Bundle getCallingBundle()- Returns:
- the bundle currently invoking a host component, or
nullif the method call did not come from an OSGi bundle or tracking is not enabled.
-