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 String |
URL
Service property to provide URLs related to this repository.
|
Modifier and Type | Method and Description |
---|---|
Map<org.osgi.resource.Requirement,Collection<org.osgi.resource.Capability>> |
findProviders(Collection<? extends org.osgi.resource.Requirement> requirements)
Find the capabilities that match the specified requirements.
|
static final String URL
The value of this property must be of type String
,
String[]
, or Collection<String>
.
Map<org.osgi.resource.Requirement,Collection<org.osgi.resource.Capability>> findProviders(Collection<? extends org.osgi.resource.Requirement> requirements)
requirements
- The requirements for which matching capabilities
should be returned. Must not be null
.Copyright © 2013 JBoss by Red Hat. All rights reserved.