public final class RepositoryImpl extends Object implements Repository
DISPLAY_NAME, ID, NAME
Constructor and Description |
---|
RepositoryImpl(ArtifactProviderPlugin provider,
RepositoryCachePlugin cache) |
Modifier and Type | Method and Description |
---|---|
Map<org.osgi.framework.resource.Requirement,Collection<org.osgi.framework.resource.Capability>> |
findProviders(Collection<? extends org.osgi.framework.resource.Requirement> reqs)
Find any capabilities that match the supplied requirements.
|
Collection<org.osgi.framework.resource.Capability> |
findProviders(org.osgi.framework.resource.Requirement req)
Find any capabilities that match the supplied requirement.
|
public RepositoryImpl(ArtifactProviderPlugin provider, RepositoryCachePlugin cache)
public Collection<org.osgi.framework.resource.Capability> findProviders(org.osgi.framework.resource.Requirement req)
Repository
Environment.findProviders(org.osgi.framework.resource.Requirement)
for a discussion on matching.findProviders
in interface Repository
req
- The requirement that should be matchedpublic Map<org.osgi.framework.resource.Requirement,Collection<org.osgi.framework.resource.Capability>> findProviders(Collection<? extends org.osgi.framework.resource.Requirement> reqs)
Repository
Environment.findProviders(org.osgi.framework.resource.Requirement)
for a discussion on matching.findProviders
in interface Repository
reqs
- the requirements that should be matchedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.