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.resolver |
Provides the Equinox resolver API.
|
Constructor and Description |
---|
ExportedPackageImpl(ExportPackageDescription exportedPackage,
BundleLoaderProxy supplier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CompositeImpl.giveExports(ExportPackageDescription[] matchingExports) |
boolean |
SurrogateImpl.giveExports(ExportPackageDescription[] matchingExports) |
Modifier and Type | Method and Description |
---|---|
PackageSource |
BundleLoaderProxy.createPackageSource(ExportPackageDescription export,
boolean storeSource) |
Modifier and Type | Method and Description |
---|---|
ExportPackageDescription |
ResolverExport.getExportPackageDescription() |
ExportPackageDescription |
ResolverImpl.resolveDynamicImport(BundleDescription importingBundle,
String requestedPackage) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompositeResolveHelper.giveExports(ExportPackageDescription[] matchingExports) |
Modifier and Type | Class and Description |
---|---|
class |
ExportPackageDescriptionImpl |
Modifier and Type | Method and Description |
---|---|
List<ExportPackageDescription> |
StateObjectFactoryImpl.createExportPackageDescriptions(String declaration) |
Modifier and Type | Method and Description |
---|---|
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) |
ExportPackageDescription |
StateObjectFactoryImpl.createExportPackageDescription(ExportPackageDescription original) |
int |
StateHelperImpl.getAccessCode(BundleDescription bundle,
ExportPackageDescription export) |
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 |
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 |
BundleDescriptionImpl.setExportPackages(ExportPackageDescription[] exportPackages) |
protected void |
BundleDescriptionImpl.setResolvedImports(ExportPackageDescription[] resolvedImports) |
protected void |
BundleDescriptionImpl.setSelectedExports(ExportPackageDescription[] selectedExports) |
protected void |
BundleDescriptionImpl.setSubstitutedExports(ExportPackageDescription[] substitutedExports) |
Constructor and Description |
---|
ExportPackageDescriptionImpl(BundleDescription host,
ExportPackageDescription fragmentDeclaration) |
Modifier and Type | Method and Description |
---|---|
ExportPackageDescription |
StateObjectFactory.createExportPackageDescription(ExportPackageDescription original)
Creates an export package specification that is a copy of the given constraint
|
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.
|
ExportPackageDescription[] |
State.getExportedPackages()
Returns all exported packages in this state, according to the OSGi rules for resolution.
|
ExportPackageDescription[] |
BundleDescription.getExportPackages()
Returns an array of export package descriptions defined by the Export-Package clauses.
|
ExportPackageDescription[] |
BundleDescription.getResolvedImports()
Returns all the export packages that satisfy all the imported packages for this bundle.
|
ExportPackageDescription[] |
BundleDescription.getSelectedExports()
Returns all the exported packages from this bundle that have been selected by
the resolver.
|
ExportPackageDescription[] |
BundleDescription.getSubstitutedExports()
Returns the export packages that satisfy imported packages for this bundle description
and substitute one of the exports for this bundle description.
|
ExportPackageDescription[] |
State.getSystemPackages()
Returns the list of system packages which are exported by the system bundle.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
List<ExportPackageDescription> |
StateObjectFactory.createExportPackageDescriptions(String declaration)
Creates export package descriptions from the given declaration.
|
Modifier and Type | Method and Description |
---|---|
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.
|
ExportPackageDescription |
StateObjectFactory.createExportPackageDescription(ExportPackageDescription original)
Creates an export package specification that is a copy of the given constraint
|
int |
StateHelper.getAccessCode(BundleDescription bundle,
ExportPackageDescription export)
Returns the access code that the specified
BundleDescription has to the
specified ExportPackageDescription . |
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.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.