public interface RepositoryAdmin
| Modifier and Type | Method and Description |
|---|---|
Repository |
addRepository(URL repository)
Add a new repository to the federation.
|
Resource[] |
discoverResources(String filterExpr)
Discover any resources that match the given filter.
|
Resource |
getResource(String respositoryId) |
Repository[] |
listRepositories()
List all the repositories.
|
boolean |
removeRepository(URL repository) |
Resolver |
resolver()
Create a resolver.
|
Resource[] discoverResources(String filterExpr)
filterExpr - A standard OSGi filterResolver resolver()
resource - Repository addRepository(URL repository) throws Exception
repository - Exceptionboolean removeRepository(URL repository)
Repository[] listRepositories()
Copyright © 2006–2016 OSGi Alliance. All rights reserved.