|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.content.mediator.RepositoryManager
public class RepositoryManager
Manage the repositories. This class handle the registeration and unregisteration of repository and give the necessary information about the mediator in respect of repository like MetaDataOntologie. Every succesfully registered repository will get an Id and with this Id, the coordinary KBCaller instance can be found in the HashMap "repositories". Currently there are only Web Service Repositories can be managed here.
| Field Summary | |
|---|---|
protected static Category |
log
|
| Method Summary | |
|---|---|
String |
addRepository(String name,
String serviceAdrURL,
String ontologieAdrURL,
String mappingAdrURL,
String contentIdWithConfident)
Add a repository to Mediator. |
static RepositoryManager |
getInstance()
|
String |
getMetadataOntologyURL()
The ontology of the Metadata can be get here. |
boolean |
hasRepository(String id)
Check if the repository with given id is registered in the HashMap |
boolean |
removeRepository(String id)
Remove a Repository with given Id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Category log
| Method Detail |
|---|
public static RepositoryManager getInstance()
public String addRepository(String name,
String serviceAdrURL,
String ontologieAdrURL,
String mappingAdrURL,
String contentIdWithConfident)
throws MediatorException
name - serviceAdrURL - ontologieAdrURL - mappingAdrURL -
MediatorExceptionpublic boolean removeRepository(String id)
id -
public boolean hasRepository(String id)
id -
public String getMetadataOntologyURL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||