Uses of Interface
org.osgi.framework.Bundle

Packages that use Bundle
org.eclipse.core.runtime Provides support for the runtime platform, core utility methods and the extension registry. 
org.eclipse.core.runtime.internal.adaptor   
org.eclipse.core.runtime.internal.stats   
org.eclipse.osgi.baseadaptor   
org.eclipse.osgi.framework.adaptor   
org.eclipse.osgi.framework.console   
org.eclipse.osgi.framework.internal.core   
org.osgi.framework   
org.osgi.service.condpermadmin   
org.osgi.service.packageadmin   
org.osgi.service.startlevel   
 

Uses of Bundle in org.eclipse.core.runtime
 

Methods in org.eclipse.core.runtime that return Bundle
 Bundle Plugin.getBundle()
          Returns the bundle associated with this plug-in.
 Bundle ILog.getBundle()
          Returns the plug-in with which this log is associated.
static Bundle Platform.getBundle(java.lang.String symbolicName)
          Returns the resolved bundle with the specified symbolic name that has the highest version.
 Bundle[] IBundleGroup.getBundles()
          Returns a list of all bundles supplied by this bundle group.
static Bundle[] Platform.getBundles(java.lang.String symbolicName, java.lang.String version)
          Returns all bundles with the specified symbolic name.
 Bundle IProduct.getDefiningBundle()
          Returns the bundle which is responsible for the definition of this product.
static Bundle[] Platform.getFragments(Bundle bundle)
          Returns an array of attached fragment bundles for the specified bundle.
static Bundle[] Platform.getHosts(Bundle bundle)
          Returns an array of host bundles that the specified fragment bundle is attached to or null if the specified bundle is not attached to a host.
static Bundle ContributorFactoryOSGi.resolve(IContributor contributor)
          Returns the OSGi bundle used to define this contributor.
 

Methods in org.eclipse.core.runtime with parameters of type Bundle
static IContributor ContributorFactoryOSGi.createContributor(Bundle contributor)
          Creates registry contributor object based on a Bundle.
static java.net.URL Platform.find(Bundle bundle, IPath path)
          Deprecated. use FileLocator.find(Bundle, IPath, Map)
static java.net.URL Platform.find(Bundle bundle, IPath path, java.util.Map override)
          Deprecated. use FileLocator.find(Bundle, IPath, Map) instead
static java.net.URL FileLocator.find(Bundle bundle, IPath path, java.util.Map override)
          Returns a URL for the given path in the given bundle.
static java.net.URL[] FileLocator.findEntries(Bundle bundle, IPath path)
          Same as FileLocator.findEntries(Bundle, IPath) except multiple entries can be returned if more than one entry matches the path in the host any of its fragments.
static java.net.URL[] FileLocator.findEntries(Bundle bundle, IPath path, java.util.Map override)
          Same as FileLocator.findEntries(Bundle, IPath, Map) except multiple entries can be returned if more than one entry matches the path in the host and any of its fragments.
static Bundle[] Platform.getFragments(Bundle bundle)
          Returns an array of attached fragment bundles for the specified bundle.
static Bundle[] Platform.getHosts(Bundle bundle)
          Returns an array of host bundles that the specified fragment bundle is attached to or null if the specified bundle is not attached to a host.
static ILog Platform.getLog(Bundle bundle)
          Returns the log for the given bundle.
static java.util.ResourceBundle Platform.getResourceBundle(Bundle bundle)
          Returns the given bundle's resource bundle for the current locale.
static java.lang.String Platform.getResourceString(Bundle bundle, java.lang.String value)
          Returns a resource string corresponding to the given argument value.
static java.lang.String Platform.getResourceString(Bundle bundle, java.lang.String value, java.util.ResourceBundle resourceBundle)
          Returns a resource string corresponding to the given argument value and resource bundle in the given runtime bundle.
static IPath Platform.getStateLocation(Bundle bundle)
          Returns the location in the local file system of the plug-in state area for the given bundle.
static boolean Platform.isFragment(Bundle bundle)
          Checks if the specified bundle is a fragment bundle.
static java.io.InputStream FileLocator.openStream(Bundle bundle, IPath file, boolean substituteArgs)
          Returns an input stream for the specified file.
 

Uses of Bundle in org.eclipse.core.runtime.internal.adaptor
 

Methods in org.eclipse.core.runtime.internal.adaptor with parameters of type Bundle
 java.util.ResourceBundle BundleLocalizationImpl.getLocalization(Bundle bundle, java.lang.String locale)
          The getLocalization method gets a ResourceBundle object for the given locale and bundle.
 

Uses of Bundle in org.eclipse.core.runtime.internal.stats
 

Methods in org.eclipse.core.runtime.internal.stats with parameters of type Bundle
 void StatsManager.endActivation(Bundle symbolicName)
           
 void StatsManager.startActivation(Bundle bundle)
           
 void StatsManager.watchBundle(Bundle bundle, int type)
           
 

Uses of Bundle in org.eclipse.osgi.baseadaptor
 

Methods in org.eclipse.osgi.baseadaptor that return Bundle
 Bundle BaseData.getBundle()
          Returns the bundle object of this BaseData
 

Methods in org.eclipse.osgi.baseadaptor with parameters of type Bundle
 void BaseData.setBundle(Bundle bundle)
           
 

Uses of Bundle in org.eclipse.osgi.framework.adaptor
 

Methods in org.eclipse.osgi.framework.adaptor with parameters of type Bundle
 void EventPublisher.publishFrameworkEvent(int type, Bundle bundle, java.lang.Throwable throwable)
          Publish a FrameworkEvent.
 void BundleData.setBundle(Bundle bundle)
          Sets the Bundle object for this BundleData.
 void BundleWatcher.watchBundle(Bundle bundle, int type)
          Receives notification that a lifecycle change is going to start or has ended.
 

Uses of Bundle in org.eclipse.osgi.framework.console
 

Methods in org.eclipse.osgi.framework.console with parameters of type Bundle
 void CommandInterpreter.printBundleResource(Bundle bundle, java.lang.String resource)
          Prints the given bundle resource if it exists
 

Uses of Bundle in org.eclipse.osgi.framework.internal.core
 

Classes in org.eclipse.osgi.framework.internal.core that implement Bundle
 class AbstractBundle
          This object is given out to bundles and wraps the internal Bundle object.
 class BundleFragment
           
 class BundleHost
           
 class SystemBundle
          This class subclasses Bundle to provide a system Bundle so that the framework can be represented as a bundle and can access the services provided by other bundles.
 

Fields in org.eclipse.osgi.framework.internal.core declared as Bundle
protected  Bundle StartLevelImpl.owner
           
 

Methods in org.eclipse.osgi.framework.internal.core that return Bundle
 Bundle ServiceReferenceImpl.getBundle()
          Return the bundle which registered the service.
 Bundle BundleContextImpl.getBundle()
          Retrieve the Bundle object for the context bundle.
 Bundle BundleLoaderProxy.getBundle()
           
 Bundle PackageAdminImpl.getBundle(java.lang.Class clazz)
           
 Bundle BundleContextImpl.getBundle(long id)
          Retrieve the bundle that has the given unique identifier.
 Bundle[] BundleContextImpl.getBundles()
          Retrieve a list of all installed bundles.
 Bundle[] PackageAdminImpl.getBundles(java.lang.String symbolicName, java.lang.String versionRange)
           
 Bundle ExportedPackageImpl.getExportingBundle()
           
protected  Bundle[] BundleHost.getFragments()
           
protected  Bundle[] AbstractBundle.getFragments()
           
 Bundle[] PackageAdminImpl.getFragments(Bundle bundle)
           
 Bundle[] PackageAdminImpl.getHosts(Bundle bundle)
           
 Bundle[] ExportedPackageImpl.getImportingBundles()
           
 Bundle[] BundleLoaderProxy.getRequiringBundles()
           
 Bundle[] ServiceReferenceImpl.getUsingBundles()
          Return the list of bundles which are using the service.
 Bundle BundleContextImpl.installBundle(java.lang.String location)
          Install a bundle from a location.
 Bundle BundleContextImpl.installBundle(java.lang.String location, java.io.InputStream in)
          Install a bundle from an InputStream.
 

Methods in org.eclipse.osgi.framework.internal.core with parameters of type Bundle
protected  void BundleResourceHandler.checkAdminPermission(Bundle bundle)
           
protected  void Framework.checkAdminPermission(Bundle bundle, java.lang.String action)
          Check for specific AdminPermission (RFC 73)
 int StartLevelManager.getBundleStartLevel(Bundle bundle)
          Return the assigned start level value for the specified Bundle.
 int StartLevelImpl.getBundleStartLevel(Bundle bundle)
          Return the assigned start level value for the specified Bundle.
 int PackageAdminImpl.getBundleType(Bundle bundle)
           
 ExportedPackage[] PackageAdminImpl.getExportedPackages(Bundle bundle)
           
 Bundle[] PackageAdminImpl.getFragments(Bundle bundle)
           
 Bundle[] PackageAdminImpl.getHosts(Bundle bundle)
           
 java.lang.Object StartLevelManager.getService(Bundle owner, ServiceRegistration registration)
          Returns a StartLevel object, created for each requesting bundle.
 boolean ServiceReferenceImpl.isAssignableTo(Bundle bundle, java.lang.String className)
           
 boolean StartLevelManager.isBundleActivationPolicyUsed(Bundle bundle)
           
 boolean StartLevelImpl.isBundleActivationPolicyUsed(Bundle bundle)
           
 boolean StartLevelManager.isBundlePersistentlyStarted(Bundle bundle)
          Return the persistent state of the specified bundle.
 boolean StartLevelImpl.isBundlePersistentlyStarted(Bundle bundle)
          Return the persistent state of the specified bundle.
 void Framework.publishBundleEvent(int type, Bundle bundle)
          Deliver a BundleEvent to SynchronousBundleListeners (synchronous). and BundleListeners (asynchronous).
 void Framework.publishFrameworkEvent(int type, Bundle bundle, java.lang.Throwable throwable)
          Deliver a FrameworkEvent.
 void PackageAdminImpl.refreshPackages(Bundle[] input)
           
 boolean PackageAdminImpl.resolveBundles(Bundle[] bundles)
           
 void StartLevelManager.setBundleStartLevel(Bundle bundle, int newSL)
          Assign a start level value to the specified Bundle.
 void StartLevelImpl.setBundleStartLevel(Bundle bundle, int newSL)
          Assign a start level value to the specified Bundle.
 void StartLevelManager.setStartLevel(int newSL, Bundle callerBundle)
          Modify the active start level of the Framework.
 void StartLevelManager.ungetService(Bundle owner, ServiceRegistration registration, java.lang.Object service)
          Does nothing, as the StartLevel bundle does not keep references to StartLevel objects.
 

Constructors in org.eclipse.osgi.framework.internal.core with parameters of type Bundle
StartLevelImpl(Bundle owner, Framework framework)
          This constructor is called by the StartLevel factory
 

Uses of Bundle in org.osgi.framework
 

Methods in org.osgi.framework that return Bundle
 Bundle BundleContext.getBundle()
          Returns the Bundle object associated with this BundleContext.
 Bundle BundleEvent.getBundle()
          Returns the bundle which had a lifecycle change.
 Bundle FrameworkEvent.getBundle()
          Returns the bundle associated with the event.
 Bundle ServiceReference.getBundle()
          Returns the bundle that registered the service referenced by this ServiceReference object.
 Bundle BundleContext.getBundle(long id)
          Returns the bundle with the specified identifier.
 Bundle[] BundleContext.getBundles()
          Returns a list of all installed bundles.
 Bundle[] ServiceReference.getUsingBundles()
          Returns the bundles that are using the service referenced by this ServiceReference object.
 Bundle BundleContext.installBundle(java.lang.String location)
          Installs a bundle from the specified location string.
 Bundle BundleContext.installBundle(java.lang.String location, java.io.InputStream input)
          Installs a bundle from the specified InputStream object.
 

Methods in org.osgi.framework with parameters of type Bundle
 java.lang.Object ServiceFactory.getService(Bundle bundle, ServiceRegistration registration)
          Creates a new service object.
 boolean ServiceReference.isAssignableTo(Bundle bundle, java.lang.String className)
          Tests if the bundle that registered the service referenced by this ServiceReference and the specified bundle use the same source for the package of the specified class name.
 void ServiceFactory.ungetService(Bundle bundle, ServiceRegistration registration, java.lang.Object service)
          Releases a service object.
 

Constructors in org.osgi.framework with parameters of type Bundle
AdminPermission(Bundle bundle, java.lang.String actions)
          Creates a new AdminPermission object to be used by the code that must check a Permission object.
BundleEvent(int type, Bundle bundle)
          Creates a bundle event of the specified type.
FrameworkEvent(int type, Bundle bundle, java.lang.Throwable throwable)
          Creates a Framework event regarding the specified bundle.
 

Uses of Bundle in org.osgi.service.condpermadmin
 

Methods in org.osgi.service.condpermadmin with parameters of type Bundle
static Condition BundleLocationCondition.getCondition(Bundle bundle, ConditionInfo info)
          Constructs a condition that tries to match the passed Bundle's location to the location pattern.
static Condition BundleSignerCondition.getCondition(Bundle bundle, ConditionInfo info)
          Constructs a Condition that tries to match the passed Bundle's location to the location pattern.
 

Uses of Bundle in org.osgi.service.packageadmin
 

Methods in org.osgi.service.packageadmin that return Bundle
 Bundle RequiredBundle.getBundle()
          Returns the bundle associated with this required bundle.
 Bundle PackageAdmin.getBundle(java.lang.Class clazz)
          Returns the bundle from which the specified class is loaded.
 Bundle[] PackageAdmin.getBundles(java.lang.String symbolicName, java.lang.String versionRange)
          Returns the bundles with the specified symbolic name whose bundle version is within the specified version range.
 Bundle ExportedPackage.getExportingBundle()
          Returns the bundle exporting the package associated with this exported package.
 Bundle[] PackageAdmin.getFragments(Bundle bundle)
          Returns an array of attached fragment bundles for the specified bundle.
 Bundle[] PackageAdmin.getHosts(Bundle bundle)
          Returns an array containing the host bundle to which the specified fragment bundle is attached or null if the specified bundle is not attached to a host or is not a fragment bundle.
 Bundle[] ExportedPackage.getImportingBundles()
          Returns the resolved bundles that are currently wired to this exported package.
 Bundle[] RequiredBundle.getRequiringBundles()
          Returns the bundles that currently require this required bundle.
 

Methods in org.osgi.service.packageadmin with parameters of type Bundle
 int PackageAdmin.getBundleType(Bundle bundle)
          Returns the special type of the specified bundle.
 ExportedPackage[] PackageAdmin.getExportedPackages(Bundle bundle)
          Gets the exported packages for the specified bundle.
 Bundle[] PackageAdmin.getFragments(Bundle bundle)
          Returns an array of attached fragment bundles for the specified bundle.
 Bundle[] PackageAdmin.getHosts(Bundle bundle)
          Returns an array containing the host bundle to which the specified fragment bundle is attached or null if the specified bundle is not attached to a host or is not a fragment bundle.
 void PackageAdmin.refreshPackages(Bundle[] bundles)
          Forces the update (replacement) or removal of packages exported by the specified bundles.
 boolean PackageAdmin.resolveBundles(Bundle[] bundles)
          Resolve the specified bundles.
 

Uses of Bundle in org.osgi.service.startlevel
 

Methods in org.osgi.service.startlevel with parameters of type Bundle
 int StartLevel.getBundleStartLevel(Bundle bundle)
          Return the assigned start level value for the specified Bundle.
 boolean StartLevel.isBundleActivationPolicyUsed(Bundle bundle)
          Returns whether the specified bundle's autostart setting indicates that the activation policy declared in the bundle's manifest must be used.
 boolean StartLevel.isBundlePersistentlyStarted(Bundle bundle)
          Returns whether the specified bundle's autostart setting indicates the bundle must be started.
 void StartLevel.setBundleStartLevel(Bundle bundle, int startlevel)
          Assign a start level value to the specified Bundle.