Uses of Interface
org.eclipse.osgi.service.resolver.BundleDescription
Packages that use BundleDescription
-
Uses of BundleDescription in org.eclipse.osgi.service.resolver
Methods in org.eclipse.osgi.service.resolver that return BundleDescriptionModifier and TypeMethodDescriptionStateObjectFactory.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities) Creates a bundle description from the given parameters.StateObjectFactory.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode) Creates a bundle description from the given parameters.StateObjectFactory.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton) Deprecated.StateObjectFactory.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String executionEnvironment, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities) StateObjectFactory.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode) Creates a bundle description from the given parameters.StateObjectFactory.createBundleDescription
(Dictionary<String, String> manifest, String location, long id) StateObjectFactory.createBundleDescription
(BundleDescription original) Creates a bundle description that is a copy of the given description.StateObjectFactory.createBundleDescription
(State state, Dictionary<String, String> manifest, String location, long id) Returns a bundle description based on the information in the supplied manifest dictionary.StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities) StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode) StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton) Deprecated.StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String[] providedPackages, boolean singleton, boolean attachFragments, boolean dynamicFragments, String platformFilter, String executionEnvironment, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities) Deprecated.StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(long id, String symbolicName, Version version, String location, BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports, ExportPackageDescription[] exports, String platformFilter, String[] executionEnvironments, GenericSpecification[] genericRequires, GenericDescription[] genericCapabilities, NativeCodeSpecification nativeCode) StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(Dictionary<String, String> manifest, String location, long id) Deprecated.StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(BundleDescription original) StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(State state, Dictionary<String, String> manifest, String location, long id) BundleDelta.getBundle()
Returns the BundleDescription that this bundle delta is for.DisabledInfo.getBundle()
Returns the bundle which is disabledResolverError.getBundle()
Returns the bundle which this ResolverError is forState.getBundle
(long id) Returns the bundle descriptor for the bundle with the given id.Returns the bundle descriptor for the bundle with the given name and version.VersionConstraint.getBundle()
Returns the bundle that declares this constraint.State.getBundleByLocation
(String location) Returns the bundle descriptor for the bundle with the given location identifier. null is returned if no such bundle is found in this state.State.getBundles()
Returns descriptions for all bundles known to this state.State.getBundles
(String symbolicName) Returns all bundle descriptions with the given bundle symbolic name.StateWire.getCapabilityHost()
gets the capability host.StateHelper.getDependentBundles
(BundleDescription[] bundles) Returns all bundles in the state depending on the given bundles.BundleDescription.getDependents()
Returns all bundles which depend on this bundle.State.getDisabledBundles()
Returns an array of BundleDescriptions for the bundles that are disabled in the system.ExportPackageDescription.getExporter()
Returns the exporter of this package.BundleDescription.getFragments()
Returns all fragments known to this bundle (regardless resolution status).HostSpecification.getHosts()
Returns the list of host BundleDescriptions that satisfy this HostSpecificationStateHelper.getPrerequisites
(BundleDescription[] bundles) Returns all the prerequisite bundles in the state for the given bundles.State.getRemovalPending()
Returns descriptions for all bundles in a removal pending state.StateWire.getRequirementHost()
Gets the requirement host.State.getResolvedBundles()
Returns descriptions for all bundles currently resolved in this state.BundleDescription.getResolvedRequires()
Returns all the bundle descriptions that satisfy all the require bundles for this bundle.BaseDescription.getSupplier()
Returns the bundle which supplies this base descriptionState.removeBundle
(long bundleId) Removes a bundle description with the given bundle id.Methods in org.eclipse.osgi.service.resolver that return types with arguments of type BundleDescriptionModifier and TypeMethodDescriptionState.getDependencyClosure
(Collection<BundleDescription> bundles) Returns the dependency closure for the specified bundles.Methods in org.eclipse.osgi.service.resolver with parameters of type BundleDescriptionModifier and TypeMethodDescriptionboolean
State.addBundle
(BundleDescription description) Adds the given bundle to this state.void
State.addDynamicImportPackages
(BundleDescription importingBundle, ImportPackageSpecification[] dynamicImports) Adds the specified dynamic imports to the specified importingBundle.void
State.addResolverError
(BundleDescription bundle, int type, String data, VersionConstraint unsatisfied) Adds a newResolverError
for the specified bundle.void
Resolver.bundleAdded
(BundleDescription bundle) Notifies the resolver a bundle has been added to the state.void
Resolver.bundleRemoved
(BundleDescription bundle, boolean pending) Notifies the resolver a bundle has been removed from the state.void
Resolver.bundleUpdated
(BundleDescription newDescription, BundleDescription existingDescription, boolean pending) Notifies the resolver a bundle has been updated in the state.StateObjectFactory.createBundleDescription
(BundleDescription original) Creates a bundle description that is a copy of the given description.StateObjectFactory.StateObjectFactoryProxy.createBundleDescription
(BundleDescription original) StateObjectFactory.createExportPackageDescription
(String packageName, Version version, Map<String, ?> directives, Map<String, ?> attributes, boolean root, BundleDescription exporter) Used by the Resolver to dynamically create ExportPackageDescription objects during the resolution process.StateObjectFactory.StateObjectFactoryProxy.createExportPackageDescription
(String packageName, Version version, Map<String, ?> directives, Map<String, ?> attributes, boolean root, BundleDescription exporter) StateObjectFactory.createGenericDescription
(String type, Map<String, ?> attributes, Map<String, String> directives, BundleDescription supplier) Creates a generic description from the given parametersStateObjectFactory.StateObjectFactoryProxy.createGenericDescription
(String type, Map<String, ?> attributes, Map<String, String> directives, BundleDescription supplier) StateObjectFactory.createImportPackageSpecification
(String packageName, VersionRange versionRange, String bundleSymbolicName, VersionRange bundleVersionRange, Map<String, ?> directives, Map<String, ?> attributes, BundleDescription importer) Creates an import package specification from the given parameters.StateObjectFactory.StateObjectFactoryProxy.createImportPackageSpecification
(String packageName, VersionRange versionRange, String bundleSymbolicName, VersionRange bundleVersionRange, Map<String, ?> directives, Map<String, ?> attributes, BundleDescription importer) int
StateHelper.getAccessCode
(BundleDescription bundle, ExportPackageDescription export) Returns the access code that the specifiedBundleDescription
has to the specifiedExportPackageDescription
.StateHelper.getDependentBundles
(BundleDescription[] bundles) Returns all bundles in the state depending on the given bundles.State.getDisabledInfo
(BundleDescription bundle, String policyName) Returns the disabled info for the specified bundle with the specified policy name.State.getDisabledInfos
(BundleDescription bundle) Returns an array of disabled info for the specified bundle.StateHelper.getPrerequisites
(BundleDescription[] bundles) Returns all the prerequisite bundles in the state for the given bundles.State.getResolverErrors
(BundleDescription bundle) Returns allResolverError
s for the given bundleStateHelper.getUnsatisfiedConstraints
(BundleDescription bundle) Returns all unsatisfied constraints in the given bundle.StateHelper.getUnsatisfiedLeaves
(BundleDescription[] bundles) Returns all unsatisfied constraints in the given bundles that have no possible supplier.StateHelper.getVisiblePackages
(BundleDescription bundle) Returns a list of all packages that the specified bundle has access to which are exported by other bundles.StateHelper.getVisiblePackages
(BundleDescription bundle, int options) Returns a list of all packages that the specified bundle has access to which are exported by other bundles.State.linkDynamicImport
(BundleDescription importingBundle, String requestedPackage) Attempts to find an ExportPackageDescription that will satisfy a dynamic import for the specified requestedPackage for the specified importingBundle.boolean
State.removeBundle
(BundleDescription bundle) Removes the given bundle description.void
State.removeBundleComplete
(BundleDescription bundle) Sets the given removal pending bundle to removal complete for this state.void
State.removeResolverErrors
(BundleDescription bundle) Removes allResolverError
s for the specified bundle.void
Resolver.resolve
(BundleDescription[] discard, Dictionary<Object, Object>[] platformProperties) Resolves the state associated with this resolver and returns an array of bundle deltas describing the changes..State.resolve
(BundleDescription[] discard) Resolves the constraints contained in this state using the resolver currently associated with the state in an incremental, "least-perturbing" mode, and returns a delta describing the changes in resolved states and dependencies in the state.State.resolve
(BundleDescription[] resolve, boolean discard) Resolves the constraints contained in this state using the resolver currently associated with the state in an incremental, "least-perturbing" mode, and returns a delta describing the changes in resolved states and dependencies in the state.void
State.resolveBundle
(BundleDescription bundle, boolean status, BundleDescription[] hosts, ExportPackageDescription[] selectedExports, BundleDescription[] resolvedRequires, ExportPackageDescription[] resolvedImports) void
State.resolveBundle
(BundleDescription bundle, boolean status, BundleDescription[] hosts, ExportPackageDescription[] selectedExports, ExportPackageDescription[] substitutedExports, BundleDescription[] resolvedRequires, ExportPackageDescription[] resolvedImports) void
State.resolveBundle
(BundleDescription bundle, boolean status, BundleDescription[] hosts, ExportPackageDescription[] selectedExports, ExportPackageDescription[] substitutedExports, GenericDescription[] selectedCapabilities, BundleDescription[] resolvedRequires, ExportPackageDescription[] resolvedImports, GenericDescription[] resolvedCapabilities, Map<String, List<StateWire>> resolvedWires) Sets whether or not the given bundle is selected in this state.Resolver.resolveDynamicImport
(BundleDescription importingBundle, String requestedPackage) Attempts to find an ExportPackageDescription that will satisfy a dynamic import for the specified requestedPackage for the specified importingBundle.Object[][]
StateHelper.sortBundles
(BundleDescription[] toSort) Sorts the given array of resolved bundles in pre-requisite order.boolean
State.updateBundle
(BundleDescription newDescription) Updates an existing bundle description with the given description.Method parameters in org.eclipse.osgi.service.resolver with type arguments of type BundleDescriptionModifier and TypeMethodDescriptionState.getDependencyClosure
(Collection<BundleDescription> bundles) Returns the dependency closure for the specified bundles.Constructors in org.eclipse.osgi.service.resolver with parameters of type BundleDescriptionModifierConstructorDescriptionDisabledInfo
(String policyName, String message, BundleDescription bundle) DisabledInfo constructor.StateWire
(BundleDescription requirementHost, VersionConstraint declaredRequirement, BundleDescription capabilityHost, BaseDescription declaredCapability) Constructs a new state wire.
StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])