public interface DelegatingBundleReference
extends org.osgi.framework.BundleReference
BundleReference and provides
access to DelegatingBundle.| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle(boolean unwrap)
Returns the bundle associated with this classloader.
|
org.osgi.framework.Bundle getBundle(boolean unwrap)
DelegatingBundle.
In such cases, the unwrap parameter controls whether this function returns the
DelegatingBundle instance or the main application bundle backing with the DelegatingBundle.unwrap - If true and if the bundle associated with this classloader is a DelegatingBundle,
this function will return the main application bundle backing with the DelegatingBundle.
Otherwise, the bundle associated with this classloader is returned as is.Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.