Uses of Interface
org.osgi.framework.Bundle
-
Packages that use Bundle Package Description org.osgi.framework Framework Package Version 1.9.org.osgi.framework.hooks.bundle Framework Bundle Hooks Package Version 1.1.org.osgi.framework.launch Framework Launch Package Version 1.2.org.osgi.framework.wiring Framework Wiring Package Version 1.2.org.osgi.service.condpermadmin Conditional Permission Admin Package Version 1.1.org.osgi.service.packageadmin Package Admin Package Version 1.2.org.osgi.service.startlevel Start Level Package Version 1.1.org.osgi.util.tracker Tracker Package Version 1.5. -
-
Uses of Bundle in org.osgi.framework
Fields in org.osgi.framework declared as Bundle Modifier and Type Field Description (package private) BundleAdaptPermission. bundleThe bundle used by this AdaptPermission.(package private) BundleAdminPermission. bundleThe bundle governed by this AdminPermission - only used if filter == nullprivate BundleBundleEvent. bundleBundle that had a change occur in its lifecycle.(package private) BundleCapabilityPermission. bundleThe bundle of the requested capability.private BundleFrameworkEvent. bundleBundle related to the event.(package private) BundlePackagePermission. bundleThe bundle used by this PackagePermission.private BundleSignerProperty. bundleprivate BundleBundleEvent. originBundle that was the origin of the event.Fields in org.osgi.framework with type parameters of type Bundle Modifier and Type Field Description private static java.lang.ThreadLocal<Bundle>AdminPermission. recurseThreadLocal used to determine if we have recursively called getProperties.Methods in org.osgi.framework that return Bundle Modifier and Type Method Description BundleBundleContext. getBundle()Returns theBundleobject associated with thisBundleContext.BundleBundleContext. getBundle(long id)Returns the bundle with the specified identifier.BundleBundleContext. getBundle(java.lang.String location)Returns the bundle with the specified location.BundleBundleEvent. getBundle()Returns the bundle which had a lifecycle change.BundleBundleReference. getBundle()Returns theBundleobject associated with thisBundleReference.BundleFrameworkEvent. getBundle()Returns the bundle associated with the event.static BundleFrameworkUtil. getBundle(java.lang.Class<?> classFromBundle)Return aBundlefor the specified bundle class.BundleServiceReference. getBundle()Returns the bundle that registered the service referenced by thisServiceReferenceobject.Bundle[]BundleContext. getBundles()Returns a list of all installed bundles.BundleBundleEvent. getOrigin()Returns the bundle that was the origin of the event.Bundle[]ServiceReference. getUsingBundles()Returns the bundles that are using the service referenced by thisServiceReferenceobject.BundleBundleContext. installBundle(java.lang.String location)Installs a bundle from the specifiedlocationidentifier.BundleBundleContext. installBundle(java.lang.String location, java.io.InputStream input)Installs a bundle from the specifiedInputStreamobject.Methods in org.osgi.framework with parameters of type Bundle Modifier and Type Method Description private static java.lang.StringAdminPermission. createName(Bundle bundle)Create a permission name from a BundleSPrototypeServiceFactory. getService(Bundle bundle, ServiceRegistration<S> registration)Returns a service object for a caller.SServiceFactory. getService(Bundle bundle, ServiceRegistration<S> registration)Returns a service object for a bundle.booleanServiceReference. isAssignableTo(Bundle bundle, java.lang.String className)Tests if the bundle that registered the service referenced by thisServiceReferenceand the specified bundle use the same source for the package of the specified class name.voidPrototypeServiceFactory. ungetService(Bundle bundle, ServiceRegistration<S> registration, S service)Releases a service object customized for a caller.voidServiceFactory. ungetService(Bundle bundle, ServiceRegistration<S> registration, S service)Releases a service object customized for a bundle.Constructors in org.osgi.framework with parameters of type Bundle Constructor Description AdaptPermission(java.lang.String adaptClass, Bundle adaptableBundle, java.lang.String actions)Creates a new requestedAdaptPermissionobject to be used by the code that must performcheckPermission.AdminPermission(Bundle bundle, java.lang.String actions)Creates a new requestedAdminPermissionobject to be used by the code that must performcheckPermission.BundleEvent(int type, Bundle bundle)Creates a bundle event of the specified type.BundleEvent(int type, Bundle bundle, Bundle origin)Creates a bundle event of the specified type.CapabilityPermission(java.lang.String namespace, java.util.Map<java.lang.String,?> attributes, Bundle providingBundle, java.lang.String actions)Creates a new requestedCapabilityPermissionobject to be used by code that must performcheckPermissionfor therequireaction.FrameworkEvent(int type, Bundle bundle, java.lang.Throwable throwable)Creates a Framework event regarding the specified bundle.PackagePermission(java.lang.String name, Bundle exportingBundle, java.lang.String actions)Creates a new requestedPackagePermissionobject to be used by code that must performcheckPermissionfor theimportaction.SignerProperty(Bundle bundle)Used by the permission implies method to build the properties for a filter match. -
Uses of Bundle in org.osgi.framework.hooks.bundle
Methods in org.osgi.framework.hooks.bundle with parameters of type Bundle Modifier and Type Method Description voidCollisionHook. filterCollisions(int operationType, Bundle target, java.util.Collection<Bundle> collisionCandidates)Filter bundle collisions hook method.Method parameters in org.osgi.framework.hooks.bundle with type arguments of type Bundle Modifier and Type Method Description voidCollisionHook. filterCollisions(int operationType, Bundle target, java.util.Collection<Bundle> collisionCandidates)Filter bundle collisions hook method.voidFindHook. find(BundleContext context, java.util.Collection<Bundle> bundles)Find hook method. -
Uses of Bundle in org.osgi.framework.launch
Subinterfaces of Bundle in org.osgi.framework.launch Modifier and Type Interface Description interfaceFrameworkA Framework instance. -
Uses of Bundle in org.osgi.framework.wiring
Methods in org.osgi.framework.wiring that return types with arguments of type Bundle Modifier and Type Method Description java.util.Collection<Bundle>FrameworkWiring. getDependencyClosure(java.util.Collection<Bundle> bundles)Returns the dependency closure for the specified bundles.java.util.Collection<Bundle>FrameworkWiring. getRemovalPendingBundles()Returns the bundles that havenon-current,in usebundle wirings.Method parameters in org.osgi.framework.wiring with type arguments of type Bundle Modifier and Type Method Description java.util.Collection<Bundle>FrameworkWiring. getDependencyClosure(java.util.Collection<Bundle> bundles)Returns the dependency closure for the specified bundles.voidFrameworkWiring. refreshBundles(java.util.Collection<Bundle> bundles, FrameworkListener... listeners)Refreshes the specified bundles.booleanFrameworkWiring. resolveBundles(java.util.Collection<Bundle> bundles)Resolves the specified bundles. -
Uses of Bundle in org.osgi.service.condpermadmin
Methods in org.osgi.service.condpermadmin with parameters of type Bundle Modifier and Type Method Description static ConditionBundleLocationCondition. getCondition(Bundle bundle, ConditionInfo info)Constructs a condition that tries to match the passed Bundle's location to the location pattern.static ConditionBundleSignerCondition. 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 Modifier and Type Method Description BundlePackageAdmin. getBundle(java.lang.Class<?> clazz)Deprecated.Returns the bundle from which the specified class is loaded.BundleRequiredBundle. getBundle()Deprecated.Returns the bundle associated with this required bundle.Bundle[]PackageAdmin. getBundles(java.lang.String symbolicName, java.lang.String versionRange)Deprecated.Returns the bundles with the specified symbolic name whose bundle version is within the specified version range.BundleExportedPackage. getExportingBundle()Deprecated.Returns the bundle exporting the package associated with this exported package.Bundle[]PackageAdmin. getFragments(Bundle bundle)Deprecated.Returns an array of attached fragment bundles for the specified bundle.Bundle[]PackageAdmin. getHosts(Bundle bundle)Deprecated.Returns the host bundles to which the specified fragment bundle is attached.Bundle[]ExportedPackage. getImportingBundles()Deprecated.Returns the resolved bundles that are currently wired to this exported package.Bundle[]RequiredBundle. getRequiringBundles()Deprecated.Returns the bundles that currently require this required bundle.Methods in org.osgi.service.packageadmin with parameters of type Bundle Modifier and Type Method Description intPackageAdmin. getBundleType(Bundle bundle)Deprecated.Returns the special type of the specified bundle.ExportedPackage[]PackageAdmin. getExportedPackages(Bundle bundle)Deprecated.Bundle[]PackageAdmin. getFragments(Bundle bundle)Deprecated.Returns an array of attached fragment bundles for the specified bundle.Bundle[]PackageAdmin. getHosts(Bundle bundle)Deprecated.Returns the host bundles to which the specified fragment bundle is attached.voidPackageAdmin. refreshPackages(Bundle[] bundles)Deprecated.Forces the update (replacement) or removal of packages exported by the specified bundles.booleanPackageAdmin. resolveBundles(Bundle[] bundles)Deprecated.Resolve the specified bundles. -
Uses of Bundle in org.osgi.service.startlevel
Methods in org.osgi.service.startlevel with parameters of type Bundle Modifier and Type Method Description intStartLevel. getBundleStartLevel(Bundle bundle)Deprecated.Return the assigned start level value for the specified Bundle.booleanStartLevel. isBundleActivationPolicyUsed(Bundle bundle)Deprecated.Returns whether the specified bundle's autostart setting indicates that the activation policy declared in the bundle's manifest must be used.booleanStartLevel. isBundlePersistentlyStarted(Bundle bundle)Deprecated.Returns whether the specified bundle's autostart setting indicates the bundle must be started.voidStartLevel. setBundleStartLevel(Bundle bundle, int startlevel)Deprecated.Assign a start level value to the specified Bundle. -
Uses of Bundle in org.osgi.util.tracker
Methods in org.osgi.util.tracker that return Bundle Modifier and Type Method Description Bundle[]BundleTracker. getBundles()Return an array ofBundles for all bundles being tracked by thisBundleTracker.Methods in org.osgi.util.tracker that return types with arguments of type Bundle Modifier and Type Method Description java.util.Map<Bundle,T>BundleTracker. getTracked()Return aMapwith theBundles and customized objects for all bundles being tracked by thisBundleTracker.Methods in org.osgi.util.tracker with parameters of type Bundle Modifier and Type Method Description TBundleTracker. addingBundle(Bundle bundle, BundleEvent event)Default implementation of theBundleTrackerCustomizer.addingBundlemethod.TBundleTrackerCustomizer. addingBundle(Bundle bundle, BundleEvent event)A bundle is being added to theBundleTracker.(package private) TBundleTracker.Tracked. customizerAdding(Bundle item, BundleEvent related)Call the specific customizer adding method.(package private) voidBundleTracker.Tracked. customizerModified(Bundle item, BundleEvent related, T object)Call the specific customizer modified method.(package private) voidBundleTracker.Tracked. customizerRemoved(Bundle item, BundleEvent related, T object)Call the specific customizer removed method.TBundleTracker. getObject(Bundle bundle)Returns the customized object for the specifiedBundleif the specified bundle is being tracked by thisBundleTracker.voidBundleTracker. modifiedBundle(Bundle bundle, BundleEvent event, T object)Default implementation of theBundleTrackerCustomizer.modifiedBundlemethod.voidBundleTrackerCustomizer. modifiedBundle(Bundle bundle, BundleEvent event, T object)A bundle tracked by theBundleTrackerhas been modified.voidBundleTracker. remove(Bundle bundle)Remove a bundle from thisBundleTracker.voidBundleTracker. removedBundle(Bundle bundle, BundleEvent event, T object)Default implementation of theBundleTrackerCustomizer.removedBundlemethod.voidBundleTrackerCustomizer. removedBundle(Bundle bundle, BundleEvent event, T object)A bundle tracked by theBundleTrackerhas been removed.
-