Package | Description |
---|---|
org.apache.felix.framework | |
org.apache.felix.framework.resolver | |
org.apache.felix.framework.util | |
org.apache.felix.framework.util.manifestparser | |
org.apache.felix.framework.wiring | |
org.osgi.framework.hooks.resolver |
Framework Resolver Hooks Package Version 1.0.
|
org.osgi.framework.wiring |
Framework Wiring Package Version 1.2.
|
Modifier and Type | Class and Description |
---|---|
class |
BundleRevisionImpl |
Modifier and Type | Method and Description |
---|---|
BundleRevision |
BundleWiringImpl.getImportedPackageSource(String pkgName) |
BundleRevision |
BundleWiringImpl.getResource() |
BundleRevision |
BundleWiringImpl.getRevision() |
Modifier and Type | Method and Description |
---|---|
BundleRevision |
ResolveException.getRevision() |
Constructor and Description |
---|
ResolveException(String msg,
BundleRevision revision,
BundleRequirement req)
Constructs an instance of
ResolveException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
static List<BundleRevision> |
Util.getFragments(BundleWiring wiring) |
Modifier and Type | Method and Description |
---|---|
static List<BundleCapability> |
Util.getCapabilityByNamespace(BundleRevision br,
String namespace)
Returns all the capabilities from a module that has a specified namespace.
|
static BundleCapability |
Util.getPackageCapability(BundleRevision br,
String name) |
static BundleWire |
Util.getWire(BundleRevision br,
String name) |
static boolean |
Util.isFragment(BundleRevision revision)
Checks if the provided module definition declares a fragment host.
|
static boolean |
Util.isSingleton(BundleRevision revision)
Returns true if the specified bundle revision is a singleton
(i.e., directive singleton:=true in Bundle-SymbolicName).
|
Modifier and Type | Method and Description |
---|---|
ResolverHook |
SecureAction.invokeResolverHookFactory(ResolverHookFactory rhf,
Collection<BundleRevision> triggers) |
void |
SecureAction.invokeResolverHookResolvable(ResolverHook rh,
Collection<BundleRevision> candidates) |
Modifier and Type | Method and Description |
---|---|
static List<BundleRequirement> |
ManifestParser.parseDynamicImportHeader(Logger logger,
BundleRevision owner,
String header) |
static List<BundleCapability> |
ManifestParser.parseExportHeader(Logger logger,
BundleRevision owner,
String header,
String bsn,
Version bv) |
Constructor and Description |
---|
ManifestParser(Logger logger,
Map configMap,
BundleRevision owner,
Map headerMap) |
Modifier and Type | Method and Description |
---|---|
BundleRevision |
BundleWireImpl.getProvider() |
BundleRevision |
BundleWireImpl.getRequirer() |
BundleRevision |
BundleRequirementImpl.getResource() |
BundleRevision |
BundleCapabilityImpl.getResource() |
BundleRevision |
BundleRequirementImpl.getRevision() |
BundleRevision |
BundleCapabilityImpl.getRevision() |
Constructor and Description |
---|
BundleCapabilityImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs) |
BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs) |
BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs,
SimpleFilter filter) |
BundleWireImpl(BundleRevision requirer,
BundleRequirement req,
BundleRevision provider,
BundleCapability cap) |
Modifier and Type | Method and Description |
---|---|
ResolverHook |
ResolverHookFactory.begin(Collection<BundleRevision> triggers)
This method is called by the framework each time a resolve process begins
to obtain a
resolver hook instance. |
void |
ResolverHook.filterResolvable(Collection<BundleRevision> candidates)
Filter resolvable candidates hook method.
|
Modifier and Type | Method and Description |
---|---|
BundleRevision |
BundleWire.getProvider()
Returns the resource providing the
capability . |
BundleRevision |
BundleWire.getRequirer()
Returns the resource who
requires the
capability . |
BundleRevision |
BundleWiring.getResource()
Returns the resource associated with this wiring.
|
BundleRevision |
BundleRequirement.getResource()
Returns the resource declaring this requirement.
|
BundleRevision |
BundleCapability.getResource()
Returns the resource declaring this capability.
|
BundleRevision |
BundleWiring.getRevision()
Returns the bundle revision for the bundle in this bundle wiring.
|
BundleRevision |
BundleRequirement.getRevision()
Returns the bundle revision declaring this requirement.
|
BundleRevision |
BundleCapability.getRevision()
Returns the bundle revision declaring this capability.
|
Modifier and Type | Method and Description |
---|---|
List<BundleRevision> |
BundleRevisions.getRevisions()
Return the bundle revisions for the
referenced bundle. |
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.