public interface Repository
resources.
Repositories may be registered as services and may be used as by a resolve context during resolver operations.
Repositories registered as services may be filtered using standard service properties.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
URL
Service property to provide URLs related to this repository.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.osgi.resource.Requirement,java.util.Collection<org.osgi.resource.Capability>> |
findProviders(java.util.Collection<? extends org.osgi.resource.Requirement> requirements)
Find the capabilities that match the specified requirements.
|
static final java.lang.String URL
The value of this property must be of type String,
String[], or Collection<String>.
java.util.Map<org.osgi.resource.Requirement,java.util.Collection<org.osgi.resource.Capability>> findProviders(java.util.Collection<? extends org.osgi.resource.Requirement> requirements)
requirements - The requirements for which matching capabilities
should be returned. Must not be null.Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.