|
|||||||||
| 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(java.net.URL repository)
Add a new repository to the federation. |
Resource[] |
discoverResources(java.lang.String filterExpr)
Discover any resources that match the given filter. |
Resource |
getResource(java.lang.String respositoryId)
|
Repository[] |
listRepositories()
List all the repositories. |
boolean |
removeRepository(java.net.URL repository)
|
Resolver |
resolver()
Create a resolver. |
| Method Detail |
|---|
Resource[] discoverResources(java.lang.String filterExpr)
filterExpr - A standard OSGi filter
Resolver resolver()
resource -
Repository addRepository(java.net.URL repository)
throws java.lang.Exception
repository -
java.lang.Exceptionboolean removeRepository(java.net.URL repository)
Repository[] listRepositories()
Resource getResource(java.lang.String respositoryId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||