Package | Description |
---|---|
org.eclipse.osgi.framework.internal.core | |
org.eclipse.osgi.internal.composite | |
org.eclipse.osgi.internal.loader | |
org.eclipse.osgi.internal.module | |
org.eclipse.osgi.internal.resolver | |
org.eclipse.osgi.service.internal.composite | |
org.eclipse.osgi.service.resolver |
Provides the Equinox resolver API.
|
Modifier and Type | Method and Description |
---|---|
BundleDescription |
AbstractBundle.getBundleDescription() |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
CompositeBase.getCompositeDescription() |
Modifier and Type | Method and Description |
---|---|
CompositeResolveHelper |
CompositeConfigurator.getCompositeResolveHelper(BundleDescription bundle) |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
BundleLoaderProxy.getBundleDescription() |
Modifier and Type | Method and Description |
---|---|
BundleLoaderProxy |
BundleLoader.getLoaderProxy(BundleDescription source) |
Constructor and Description |
---|
BundleLoaderProxy(BundleHost bundle,
BundleDescription description) |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
ResolverExport.getBundleDescription() |
abstract BundleDescription |
VersionSupplier.getBundleDescription() |
BundleDescription |
ResolverBundle.getBundleDescription() |
BundleDescription |
GenericCapability.getBundleDescription() |
Modifier and Type | Method and Description |
---|---|
void |
ResolverImpl.bundleAdded(BundleDescription bundle) |
void |
ResolverImpl.bundleRemoved(BundleDescription bundle,
boolean pending) |
void |
ResolverImpl.bundleUpdated(BundleDescription newDescription,
BundleDescription existingDescription,
boolean pending) |
CompositeResolveHelper |
CompositeResolveHelperRegistry.getCompositeResolveHelper(BundleDescription bundle) |
void |
ResolverImpl.resolve(BundleDescription[] reRefresh,
Dictionary<Object,Object>[] platformProperties) |
ExportPackageDescription |
ResolverImpl.resolveDynamicImport(BundleDescription importingBundle,
String requestedPackage) |
Modifier and Type | Class and Description |
---|---|
class |
BundleDescriptionImpl |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(BundleDescription original) |
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(Dictionary<String,String> manifest,
String location,
long id)
Deprecated.
|
BundleDescription |
StateObjectFactoryImpl.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) |
BundleDescription |
StateObjectFactoryImpl.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) |
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(long id,
String symbolicName,
Version version,
String location,
BundleSpecification[] required,
HostSpecification host,
ImportPackageSpecification[] imports,
ExportPackageDescription[] exports,
String[] providedPackages,
boolean singleton)
Deprecated.
|
BundleDescription |
StateObjectFactoryImpl.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.
|
BundleDescription |
StateObjectFactoryImpl.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) |
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(State state,
Dictionary<String,String> manifest,
String location,
long id) |
BundleDescription |
ResolverErrorImpl.getBundle() |
BundleDescription |
StateImpl.getBundle(long id) |
BundleDescription |
ReadOnlyState.getBundle(long id) |
BundleDescription |
StateImpl.getBundle(String name,
Version version) |
BundleDescription |
ReadOnlyState.getBundle(String symbolicName,
Version version) |
BundleDescription |
StateImpl.getBundleByLocation(String location) |
BundleDescription |
ReadOnlyState.getBundleByLocation(String location) |
BundleDescription[] |
StateImpl.getBundles() |
BundleDescription[] |
ReadOnlyState.getBundles() |
BundleDescription[] |
StateImpl.getBundles(String symbolicName) |
BundleDescription[] |
ReadOnlyState.getBundles(String symbolicName) |
BundleDescription[] |
StateHelperImpl.getDependentBundles(BundleDescription[] bundles) |
BundleDescription[] |
BundleDescriptionImpl.getDependents() |
BundleDescription[] |
StateImpl.getDisabledBundles() |
BundleDescription[] |
ReadOnlyState.getDisabledBundles() |
BundleDescription |
ExportPackageDescriptionImpl.getExporter() |
BundleDescription[] |
BundleDescriptionImpl.getFragments() |
BundleDescription[] |
HostSpecificationImpl.getHosts() |
BundleDescription[] |
StateHelperImpl.getPrerequisites(BundleDescription[] bundles) |
BundleDescription[] |
StateImpl.getRemovalPending() |
BundleDescription[] |
ReadOnlyState.getRemovalPending() |
BundleDescription[] |
StateImpl.getResolvedBundles() |
BundleDescription[] |
ReadOnlyState.getResolvedBundles() |
BundleDescription[] |
BundleDescriptionImpl.getResolvedRequires() |
BundleDescription |
ExportPackageDescriptionImpl.getSupplier() |
BundleDescription |
GenericDescriptionImpl.getSupplier() |
BundleDescription |
BundleDescriptionImpl.getSupplier() |
BundleDescription |
NativeCodeDescriptionImpl.getSupplier() |
BundleDescription |
StateImpl.removeBundle(long bundleId) |
BundleDescription |
ReadOnlyState.removeBundle(long bundleId) |
Modifier and Type | Method and Description |
---|---|
Collection<BundleDescription> |
StateImpl.getDependencyClosure(Collection<BundleDescription> bundles) |
Collection<BundleDescription> |
ReadOnlyState.getDependencyClosure(Collection<BundleDescription> bundles) |
Modifier and Type | Method and Description |
---|---|
boolean |
StateImpl.addBundle(BundleDescription description) |
boolean |
ReadOnlyState.addBundle(BundleDescription description) |
protected void |
BundleDescriptionImpl.addDependent(BundleDescription dependent) |
void |
StateImpl.addDynamicImportPackages(BundleDescription importingBundle,
ImportPackageSpecification[] dynamicImports) |
void |
ReadOnlyState.addDynamicImportPackages(BundleDescription importingBundle,
ImportPackageSpecification[] dynamicImports) |
void |
StateImpl.addResolverError(BundleDescription bundle,
int type,
String data,
VersionConstraint unsatisfied) |
void |
ReadOnlyState.addResolverError(BundleDescription bundle,
int type,
String data,
VersionConstraint unsatisfied) |
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(BundleDescription original) |
ExportPackageDescription |
StateObjectFactoryImpl.createExportPackageDescription(String packageName,
Version version,
Map<String,?> directives,
Map<String,?> attributes,
boolean root,
BundleDescription exporter) |
GenericDescription |
StateObjectFactoryImpl.createGenericDescription(String type,
Map<String,?> attributes,
Map<String,String> directives,
BundleDescription supplier) |
ImportPackageSpecification |
StateObjectFactoryImpl.createImportPackageSpecification(String packageName,
VersionRange versionRange,
String bundleSymbolicName,
VersionRange bundleVersionRange,
Map<String,?> directives,
Map<String,?> attributes,
BundleDescription importer) |
int |
StateHelperImpl.getAccessCode(BundleDescription bundle,
ExportPackageDescription export) |
BundleDescription[] |
StateHelperImpl.getDependentBundles(BundleDescription[] bundles) |
DisabledInfo |
StateImpl.getDisabledInfo(BundleDescription bundle,
String policyName) |
DisabledInfo |
ReadOnlyState.getDisabledInfo(BundleDescription bundle,
String policyName) |
DisabledInfo[] |
StateImpl.getDisabledInfos(BundleDescription bundle) |
DisabledInfo[] |
ReadOnlyState.getDisabledInfos(BundleDescription bundle) |
BundleDescription[] |
StateHelperImpl.getPrerequisites(BundleDescription[] bundles) |
ResolverError[] |
StateImpl.getResolverErrors(BundleDescription bundle) |
ResolverError[] |
ReadOnlyState.getResolverErrors(BundleDescription bundle) |
VersionConstraint[] |
StateHelperImpl.getUnsatisfiedConstraints(BundleDescription bundle) |
VersionConstraint[] |
StateHelperImpl.getUnsatisfiedLeaves(BundleDescription[] bundles) |
ExportPackageDescription[] |
StateHelperImpl.getVisiblePackages(BundleDescription bundle) |
ExportPackageDescription[] |
StateHelperImpl.getVisiblePackages(BundleDescription bundle,
int options) |
ExportPackageDescription |
StateImpl.linkDynamicImport(BundleDescription importingBundle,
String requestedPackage) |
ExportPackageDescription |
ReadOnlyState.linkDynamicImport(BundleDescription importingBundle,
String requestedPackage) |
boolean |
StateImpl.removeBundle(BundleDescription toRemove) |
boolean |
ReadOnlyState.removeBundle(BundleDescription bundle) |
boolean |
UserState.removeBundle(BundleDescription description) |
void |
StateImpl.removeBundleComplete(BundleDescription bundle) |
void |
ReadOnlyState.removeBundleComplete(BundleDescription bundle) |
protected void |
BundleDescriptionImpl.removeDependent(BundleDescription dependent) |
void |
StateImpl.removeResolverErrors(BundleDescription bundle) |
void |
ReadOnlyState.removeResolverErrors(BundleDescription bundle) |
StateDelta |
StateImpl.resolve(BundleDescription[] reResolve) |
StateDelta |
ReadOnlyState.resolve(BundleDescription[] discard) |
StateDelta |
StateImpl.resolve(BundleDescription[] resolve,
boolean discard) |
StateDelta |
ReadOnlyState.resolve(BundleDescription[] resolve,
boolean discard) |
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] host,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolveImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] host,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolveImports)
Deprecated.
|
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] host,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolveImports)
Deprecated.
|
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedWires) |
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedWires) |
void |
StateImpl.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedWires) |
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedRequirements) |
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedRequirements) |
void |
ReadOnlyState.resolveBundle(BundleDescription bundle,
boolean status,
BundleDescription[] hosts,
ExportPackageDescription[] selectedExports,
ExportPackageDescription[] substitutedExports,
GenericDescription[] selectedCapabilities,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports,
GenericDescription[] resolvedCapabilities,
Map<String,List<StateWire>> resolvedRequirements) |
protected void |
ExportPackageDescriptionImpl.setExporter(BundleDescription exporter) |
protected void |
BundleDescriptionImpl.setResolvedRequires(BundleDescription[] resolvedRequires) |
Object[][] |
StateHelperImpl.sortBundles(BundleDescription[] toSort) |
boolean |
StateImpl.updateBundle(BundleDescription newDescription) |
boolean |
ReadOnlyState.updateBundle(BundleDescription newDescription) |
boolean |
UserState.updateBundle(BundleDescription newDescription) |
Modifier and Type | Method and Description |
---|---|
Collection<BundleDescription> |
StateImpl.getDependencyClosure(Collection<BundleDescription> bundles) |
Collection<BundleDescription> |
ReadOnlyState.getDependencyClosure(Collection<BundleDescription> bundles) |
Constructor and Description |
---|
ExportPackageDescriptionImpl(BundleDescription host,
ExportPackageDescription fragmentDeclaration) |
GenericDescriptionImpl(BundleDescription host,
GenericDescription fragmentDeclaration) |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
CompositeModule.getCompositeDescription() |
Modifier and Type | Method and Description |
---|---|
BundleDescription |
StateObjectFactory.createBundleDescription(BundleDescription original)
Creates a bundle description that is a copy of the given description.
|
BundleDescription |
StateObjectFactory.createBundleDescription(Dictionary<String,String> manifest,
String location,
long id)
|
BundleDescription |
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)
Creates a bundle description from the given parameters.
|
BundleDescription |
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.
|
BundleDescription |
StateObjectFactory.createBundleDescription(long id,
String symbolicName,
Version version,
String location,
BundleSpecification[] required,
HostSpecification host,
ImportPackageSpecification[] imports,
ExportPackageDescription[] exports,
String[] providedPackages,
boolean singleton)
|
BundleDescription |
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)
|
BundleDescription |
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.
|
BundleDescription |
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.
|
BundleDescription |
VersionConstraint.getBundle()
Returns the bundle that declares this constraint.
|
BundleDescription |
ResolverError.getBundle()
Returns the bundle which this ResolverError is for
|
BundleDescription |
DisabledInfo.getBundle()
Returns the bundle which is disabled
|
BundleDescription |
BundleDelta.getBundle()
Returns the BundleDescription that this bundle delta is for.
|
BundleDescription |
State.getBundle(long id)
Returns the bundle descriptor for the bundle with the given id.
|
BundleDescription |
State.getBundle(String symbolicName,
Version version)
Returns the bundle descriptor for the bundle with the given name and
version.
|
BundleDescription |
State.getBundleByLocation(String location)
Returns the bundle descriptor for the bundle with the given location
identifier.
|
BundleDescription[] |
State.getBundles()
Returns descriptions for all bundles known to this state.
|
BundleDescription[] |
State.getBundles(String symbolicName)
Returns all bundle descriptions with the given bundle symbolic name.
|
BundleDescription |
StateWire.getCapabilityHost()
gets the capability host.
|
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[] |
State.getDisabledBundles()
Returns an array of BundleDescriptions for the bundles that are disabled
in the system.
|
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.getRemovalPending()
Returns descriptions for all bundles in a removal pending state.
|
BundleDescription |
StateWire.getRequirementHost()
Gets the requirement host.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<BundleDescription> |
State.getDependencyClosure(Collection<BundleDescription> bundles)
Returns the dependency closure for the specified bundles.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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 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(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.
|
GenericDescription |
StateObjectFactory.createGenericDescription(String type,
Map<String,?> attributes,
Map<String,String> directives,
BundleDescription supplier)
Creates a generic description from the given parameters
|
ImportPackageSpecification |
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.
|
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.
|
DisabledInfo |
State.getDisabledInfo(BundleDescription bundle,
String policyName)
Returns the disabled info for the specified bundle with the specified policy name.
|
DisabledInfo[] |
State.getDisabledInfos(BundleDescription bundle)
Returns an array of disabled info for the specified bundle.
|
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,
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 an incremental, "least-perturbing"
mode, and returns a delta describing the changes in resolved states and
dependencies in the state.
|
StateDelta |
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 |
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..
|
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,
BundleDescription[] resolvedRequires,
ExportPackageDescription[] resolvedImports)
|
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,
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.
|
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.
|
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.
|
ExportPackageDescription |
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<BundleDescription> |
State.getDependencyClosure(Collection<BundleDescription> bundles)
Returns the dependency closure for the specified bundles.
|
Constructor and Description |
---|
DisabledInfo(String policyName,
String message,
BundleDescription bundle)
DisabledInfo constructor.
|
StateWire(BundleDescription requirementHost,
VersionConstraint declaredRequirement,
BundleDescription capabilityHost,
BaseDescription declaredCapability)
Constructs a new state wire.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.