public interface RepositoryStorage
| Modifier and Type | Method and Description |
|---|---|
XResource |
addResource(XResource resource)
Add the given resource to storage
|
Collection<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement requirement)
Find the capabilities that match the specified requirement.
|
XRepository |
getRepository()
Get the associated reposistory;
|
RepositoryReader |
getRepositoryReader()
Get the repository reader for this storage
|
XResource |
getResource(XIdentityCapability icap)
Get the resource for the given identity capability.
|
boolean |
removeResource(XResource resource)
Remove a the given resource from the cache.
|
XRepository getRepository()
Collection<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement requirement)
requirement - The requirements for which matching capabilities should be returned. Must not be null.RepositoryReader getRepositoryReader()
XResource getResource(XIdentityCapability icap)
XResource addResource(XResource resource) throws RepositoryStorageException
resource - The resource to addRepositoryStorageException - If there is a problem storing the resourceboolean removeResource(XResource resource) throws RepositoryStorageException
resource - The resource to removeRepositoryStorageException - If there is a problem removing the resource from storageCopyright © 2016 JBoss by Red Hat. All rights reserved.