|
[OSGi OBR Service API] | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface RepositoryAdmin
Provides centralized access to the distributed repository. A repository contains a set of resources. A resource contains a number of fixed attributes (name, version, etc) and sets of:
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Resource[] discoverResources(String filterExpr)
filterExpr - A standard OSGi filter
Resolver resolver()
resource -
Repository addRepository(URL repository)
throws Exception
repository -
Exceptionboolean removeRepository(URL repository)
Repository[] listRepositories()
Resource getResource(String respositoryId)
|
[OSGi OBR Service API] | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||