com.atlassian.plugin.osgi.hostcomponents
Class CallingBundleAccessor

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

public class CallingBundleAccessor
extends java.lang.Object

An accessor to the bundle currently invoking a host component

Since:
3.1.0

Constructor Summary
CallingBundleAccessor()
           
 
Method Summary
static org.osgi.framework.Bundle getCallingBundle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallingBundleAccessor

public CallingBundleAccessor()
Method Detail

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.


Copyright © 2013 Atlassian. All Rights Reserved.