|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BundleDescription | |
---|---|
org.eclipse.osgi.service.resolver |
Uses of BundleDescription in org.eclipse.osgi.service.resolver |
---|
Methods in org.eclipse.osgi.service.resolver that return BundleDescription | |
---|---|
BundleDescription |
StateObjectFactory.createBundleDescription(BundleDescription original)
Creates a bundle description that is a copy of the given description. |
BundleDescription |
StateObjectFactory.createBundleDescription(java.util.Dictionary manifest,
java.lang.String location,
long id)
Deprecated. use StateObjectFactory.createBundleDescription(State, Dictionary, String, long) |
BundleDescription |
StateObjectFactory.createBundleDescription(long id,
java.lang.String symbolicName,
Version version,
java.lang.String location,
BundleSpecification[] required,
HostSpecification host,
ImportPackageSpecification[] imports,
ExportPackageDescription[] exports,
boolean singleton,
boolean attachFragments,
boolean dynamicFragments,
java.lang.String platformFilter,
java.lang.String[] executionEnvironments,
GenericSpecification[] genericRequires,
GenericDescription[] genericCapabilities)
Creates a bundle description from the given parameters. |
BundleDescription |
StateObjectFactory.createBundleDescription(long id,
java.lang.String symbolicName,
Version version,
java.lang.String location,
BundleSpecification[] required,
HostSpecification host,
ImportPackageSpecification[] imports,
ExportPackageDescription[] exports,
java.lang.String[] providedPackages,
boolean singleton)
Deprecated. use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) |
BundleDescription |
StateObjectFactory.createBundleDescription(long id,
java.lang.String symbolicName,
Version version,
java.lang.String location,
BundleSpecification[] required,
HostSpecification host,
ImportPackageSpecification[] imports,
ExportPackageDescription[] exports,
java.lang.String[] providedPackages,
boolean singleton,
boolean attachFragments,
boolean dynamicFragments,
java.lang.String platformFilter,
java.lang.String executionEnvironment,
GenericSpecification[] genericRequires,
GenericDescription[] genericCapabilities)
Deprecated. use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) |
BundleDescription |
StateObjectFactory.createBundleDescription(State state,
java.util.Dictionary manifest,
java.lang.String location,
long id)
Returns a bundle description based on the information in the supplied manifest dictionary. |
BundleDescription |
BundleDelta.getBundle()
Returns the BundleDescription that this bundle delta is for. |
BundleDescription |
ResolverError.getBundle()
Returns the bundle which this ResolverError is for |
BundleDescription |
VersionConstraint.getBundle()
Returns the bundle that declares this constraint. |
BundleDescription |
State.getBundle(long id)
Returns the bundle descriptor for the bundle with the given id. |
BundleDescription |
State.getBundle(java.lang.String symbolicName,
Version version)
Returns the bundle descriptor for the bundle with the given name and version. |
BundleDescription |
State.getBundleByLocation(java.lang.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. |
BundleDescription[] |
State.getBundles()
Returns descriptions for all bundles known to this state. |
BundleDescription[] |
State.getBundles(java.lang.String symbolicName)
Returns all bundle descriptions with the given bundle symbolic name. |
BundleDescription[] |
StateHelper.getDependentBundles(BundleDescription[] bundles)
Returns all bundles in the state depending on the given bundles. |
BundleDescription[] |
BundleDescription.getDependents()
Returns all bundles which depend on this bundle. |
BundleDescription |
ExportPackageDescription.getExporter()
Returns the exporter of this package. |
BundleDescription[] |
BundleDescription.getFragments()
Returns all fragments known to this bundle (regardless resolution status). |
BundleDescription[] |
HostSpecification.getHosts()
Returns the list of host BundleDescriptions that satisfy this HostSpecification |
BundleDescription[] |
StateHelper.getPrerequisites(BundleDescription[] bundles)
Returns all the prerequisite bundles in the state for the given bundles. |
BundleDescription[] |
State.getResolvedBundles()
Returns descriptions for all bundles currently resolved in this state. |
BundleDescription[] |
BundleDescription.getResolvedRequires()
Returns all the bundle descriptions that satisfy all the require bundles for this bundle. |
BundleDescription |
BaseDescription.getSupplier()
Returns the bundle which supplies this base description |
BundleDescription |
State.removeBundle(long bundleId)
Removes a bundle description with the given bundle id. |
Methods in org.eclipse.osgi.service.resolver with parameters of type BundleDescription | |
---|---|
boolean |
State.addBundle(BundleDescription description)
Adds the given bundle to this state. |
void |
State.addResolverError(BundleDescription bundle,
int type,
java.lang.String data,
VersionConstraint unsatisfied)
Adds a new ResolverError 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. |
BundleDescription |
StateObjectFactory.createBundleDescription(BundleDescription original)
Creates a bundle description that is a copy of the given description. |
ExportPackageDescription |
StateObjectFactory.createExportPackageDescription(java.lang.String packageName,
Version version,
java.util.Map directives,
java.util.Map attributes,
boolean root,
BundleDescription exporter)
Used by the Resolver to dynamically create ExportPackageDescription objects during the resolution process. |
ImportPackageSpecification |
StateObjectFactory.createImportPackageSpecification(java.lang.String packageName,
VersionRange versionRange,
java.lang.String bundleSymbolicName,
VersionRange bundleVersionRange,
java.util.Map directives,
java.util.Map attributes,
BundleDescription importer)
Creates an import package specification from the given parameters. |
int |
StateHelper.getAccessCode(BundleDescription bundle,
ExportPackageDescription export)
Returns the access code that the specified BundleDescription has to the
specified ExportPackageDescription . |
BundleDescription[] |
StateHelper.getDependentBundles(BundleDescription[] bundles)
Returns all bundles in the state depending on the given bundles. |
BundleDescription[] |
StateHelper.getPrerequisites(BundleDescription[] bundles)
Returns all the prerequisite bundles in the state for the given bundles. |
ResolverError[] |
State.getResolverErrors(BundleDescription bundle)
Returns all ResolverError s for the given bundle |
VersionConstraint[] |
StateHelper.getUnsatisfiedConstraints(BundleDescription bundle)
Returns all unsatisfied constraints in the given bundle. |
VersionConstraint[] |
StateHelper.getUnsatisfiedLeaves(BundleDescription[] bundles)
Returns all unsatisfied constraints in the given bundles that have no possible supplier. |
ExportPackageDescription[] |
StateHelper.getVisiblePackages(BundleDescription bundle)
Returns a list of all packages that the specified bundle has access to which are exported by other bundles. |
ExportPackageDescription[] |
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. |
ExportPackageDescription |
State.linkDynamicImport(BundleDescription importingBundle,
java.lang.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 all ResolverError s for the specified bundle. |
StateDelta |
State.resolve(BundleDescription[] discard)
Resolves the constraints contained in this state using the resolver currently associated with the state in a incremental, "least-perturbing" mode, and returns a delta describing the changes in resolved states and dependencies in the state. |
void |
Resolver.resolve(BundleDescription[] discard,
java.util.Dictionary[] platformProperties)
Resolves the state associated with this resolver and returns an array of bundle deltas describing the changes.. |
void |
State.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Sets whether or not the given bundle is selected in this state. |
void |
State.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Sets whether or not the given bundle is selected in this state. |
void |
State.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Sets whether or not the given bundle is selected in this state. |
ExportPackageDescription |
Resolver.resolveDynamicImport(BundleDescription importingBundle,
java.lang.String requestedPackage)
Attempts to find an ExportPackageDescription that will satisfy a dynamic import for the specified requestedPackage for the specified importingBundle. |
java.lang.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |