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.equinox.app Provides core support for Eclipse application model. 
org.eclipse.osgi.baseadaptor   
org.eclipse.osgi.framework.adaptor   
org.eclipse.osgi.framework.console   
org.eclipse.osgi.framework.util   
org.eclipse.osgi.service.localization   
org.eclipse.osgi.signedcontent Equinox Signed Content Package Specification This package provides API for accessing signer information from signed content. 
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 java.io.File FileLocator.getBundleFile(Bundle bundle)
          Returns a file for the contents of the specified bundle.
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.equinox.app
 

Methods in org.eclipse.equinox.app that return Bundle
 Bundle IApplicationContext.getBrandingBundle()
          Returns the bundle which is responsible for the definition of the product associated with this application context.
 

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.util
 

Methods in org.eclipse.osgi.framework.util with parameters of type Bundle
 void SecureAction.start(Bundle bundle)
          Starts a bundle
 void SecureAction.start(Bundle bundle, int options)
          Starts a bundle.
 

Uses of Bundle in org.eclipse.osgi.service.localization
 

Methods in org.eclipse.osgi.service.localization with parameters of type Bundle
 java.util.ResourceBundle BundleLocalization.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.osgi.signedcontent
 

Methods in org.eclipse.osgi.signedcontent with parameters of type Bundle
 SignedContent SignedContentFactory.getSignedContent(Bundle bundle)
          Returns a SignedContent object for the specified bundle.
 

Uses of Bundle in org.osgi.framework
 

Methods in org.osgi.framework that return Bundle
 Bundle ServiceReference.getBundle()
          Returns the bundle that registered the service referenced by this ServiceReference object.
 Bundle FrameworkEvent.getBundle()
          Returns the bundle associated with the event.
 Bundle BundleEvent.getBundle()
          Returns the bundle which had a lifecycle change.
 Bundle BundleContext.getBundle()
          Returns the Bundle object associated with this BundleContext.
 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 BundleSignerCondition.getCondition(Bundle bundle, ConditionInfo info)
          Constructs a Condition that tries to match the passed Bundle's location to the location pattern.
static Condition BundleLocationCondition.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.