Provides the Equinox resolver API.
-
Used by the Resolver to dynamically create ExportPackageDescription objects
during the resolution process.
Creates an export package specification that is a copy of the given
constraint
Returns all exported packages in this state, according to the OSGi rules for
resolution.
Returns an array of export package descriptions defined by the Export-Package
clauses.
Returns all the export packages that satisfy all the imported packages for
this bundle.
Returns all the exported packages from this bundle that have been selected by
the resolver.
Returns the export packages that satisfy imported packages for this bundle
description and substitute one of the exports for this bundle description.
Returns the list of system packages which are exported by the system bundle.
Returns a list of all packages that the specified bundle has access to which
are exported by other bundles.
Returns a list of all packages that the specified bundle has access to which
are exported by other bundles.
Attempts to find an ExportPackageDescription that will satisfy a dynamic
import for the specified requestedPackage for the specified importingBundle.
Attempts to find an ExportPackageDescription that will satisfy a dynamic
import for the specified requestedPackage for the specified importingBundle.
Creates export package descriptions from the given declaration.
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.
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,
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.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,
boolean attachFragments,
boolean dynamicFragments,
String platformFilter,
String executionEnvironment,
GenericSpecification[] genericRequires,
GenericDescription[] genericCapabilities)
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)
Creates an export package specification that is a copy of the given
constraint
int
Returns the access code that the specified BundleDescription
has
to the specified ExportPackageDescription
.
void
void
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.
StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])