Uses of Interface
org.osgi.framework.Bundle
Packages that use Bundle
Package
Description
Framework Package Version 1.10.
Framework Connect Package Version 1.0.
Framework Bundle Hooks Package Version 1.1.
Framework Launch Package Version 1.2.
Framework Wiring Package Version 1.2.
-
Uses of Bundle in org.osgi.framework
Subinterfaces with type arguments of type Bundle in org.osgi.frameworkFields in org.osgi.framework declared as BundleModifier and TypeFieldDescription(package private) final BundleAdaptPermission.bundleThe bundle used by this AdaptPermission.(package private) final BundleAdminPermission.bundleThe bundle governed by this AdminPermission - only used if filter == nullprivate final BundleBundleEvent.bundleBundle that had a change occur in its lifecycle.(package private) final BundleCapabilityPermission.bundleThe bundle of the requested capability.private final BundleFrameworkEvent.bundleBundle related to the event.(package private) final BundlePackagePermission.bundleThe bundle used by this PackagePermission.private final BundleSignerProperty.bundleprivate final BundleBundleEvent.originBundle that was the origin of the event.Fields in org.osgi.framework with type parameters of type BundleModifier and TypeFieldDescriptionprivate static final ThreadLocal<Bundle> AdminPermission.recurseThreadLocal used to determine if we have recursively called getProperties.Methods in org.osgi.framework that return BundleModifier and TypeMethodDescriptionBundleContext.getBundle()Returns theBundleobject associated with thisBundleContext.BundleContext.getBundle(long id) Returns the bundle with the specified identifier.Returns the bundle with the specified location.BundleEvent.getBundle()Returns the bundle which had a lifecycle change.BundleReference.getBundle()Returns theBundleobject associated with thisBundleReference.FrameworkEvent.getBundle()Returns the bundle associated with the event.static BundleReturn aBundlefor the specified bundle class.ServiceReference.getBundle()Returns the bundle that registered the service referenced by thisServiceReferenceobject.Bundle[]BundleContext.getBundles()Returns a list of all installed bundles.BundleEvent.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.BundleContext.installBundle(String location) Installs a bundle from the specifiedlocationidentifier.BundleContext.installBundle(String location, InputStream input) Installs a bundle from the specifiedInputStreamobject.Methods in org.osgi.framework that return types with arguments of type BundleModifier and TypeMethodDescriptionFrameworkUtil.getBundle(ClassLoader bundleClassLoader) Return aBundlefor the specified bundle class loader.Methods in org.osgi.framework with parameters of type BundleModifier and TypeMethodDescriptionprivate static StringAdminPermission.createName(Bundle bundle) Create a permission name from a BundlePrototypeServiceFactory.getService(Bundle bundle, ServiceRegistration<S> registration) Returns a service object for a caller.ServiceFactory.getService(Bundle bundle, ServiceRegistration<S> registration) Returns a service object for a bundle.booleanServiceReference.isAssignableTo(Bundle bundle, 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 BundleModifierConstructorDescriptionAdaptPermission(String adaptClass, Bundle adaptableBundle, String actions) Creates a new requestedAdaptPermissionobject to be used by the code that must performcheckPermission.AdminPermission(Bundle bundle, 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(String namespace, Map<String, ?> attributes, Bundle providingBundle, String actions) Creates a new requestedCapabilityPermissionobject to be used by code that must performcheckPermissionfor therequireaction.FrameworkEvent(int type, Bundle bundle, Throwable throwable) Creates a Framework event regarding the specified bundle.PackagePermission(String name, Bundle exportingBundle, String actions) Creates a new requestedPackagePermissionobject to be used by code that must performcheckPermissionfor theimportaction.(package private)SignerProperty(Bundle bundle) Used by the permission implies method to build the properties for a filter match. -
Uses of Bundle in org.osgi.framework.connect
Methods in org.osgi.framework.connect that return types with arguments of type Bundle -
Uses of Bundle in org.osgi.framework.hooks.bundle
Methods in org.osgi.framework.hooks.bundle with parameters of type BundleModifier and TypeMethodDescriptionvoidCollisionHook.filterCollisions(int operationType, Bundle target, Collection<Bundle> collisionCandidates) Filter bundle collisions hook method.Method parameters in org.osgi.framework.hooks.bundle with type arguments of type BundleModifier and TypeMethodDescriptionvoidCollisionHook.filterCollisions(int operationType, Bundle target, Collection<Bundle> collisionCandidates) Filter bundle collisions hook method.voidFindHook.find(BundleContext context, Collection<Bundle> bundles) Find hook method. -
Uses of Bundle in org.osgi.framework.launch
Subinterfaces of Bundle in org.osgi.framework.launch -
Uses of Bundle in org.osgi.framework.wiring
Methods in org.osgi.framework.wiring that return types with arguments of type BundleModifier and TypeMethodDescriptionFrameworkWiring.getDependencyClosure(Collection<Bundle> bundles) Returns the dependency closure for the specified bundles.FrameworkWiring.getRemovalPendingBundles()Returns the bundles that havenon-current,in usebundle wirings.Method parameters in org.osgi.framework.wiring with type arguments of type BundleModifier and TypeMethodDescriptionFrameworkWiring.getDependencyClosure(Collection<Bundle> bundles) Returns the dependency closure for the specified bundles.voidFrameworkWiring.refreshBundles(Collection<Bundle> bundles, FrameworkListener... listeners) Refreshes the specified bundles.booleanFrameworkWiring.resolveBundles(Collection<Bundle> bundles) Resolves the specified bundles.