public interface CatalogManager
| Modifier and Type | Method and Description |
|---|---|
void |
addLayerLoader(String key,
Class loader) |
void |
addRecord(Record record)
Adds a new record
|
Record |
createRecord(URI uri,
XMLNode node)
Try to identify the XML format and return a record
|
ICatalogServiceDriver |
getDriver(String protocol)
It is used to retrieve a driver that supports a concrete
protocol
|
ICatalogServiceDriver[] |
getDrivers() |
LayerLoader |
getLayerLoader(Resource resource) |
Map<String,ServerData> |
getServersPersistence()
gets Map object to persist servers list
|
void |
register(String name,
Class driver)
This method is used to register a new catalog driver
that manage a concrete protocol
|
void |
setServersPersistence(Map<String,ServerData> serversPersistence)
sets Map object to persist servers list
|
ICatalogServiceDriver getDriver(String protocol)
protocol - Catalog protocolICatalogServiceDriver[] getDrivers()
void register(String name, Class driver)
driver - Catalog driver to registervoid addRecord(Record record)
record - New record to addRecord createRecord(URI uri, XMLNode node)
uri - Server URI (used to retrieve the images)node - XML nodeLayerLoader getLayerLoader(Resource resource) throws IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
Map<String,ServerData> getServersPersistence()
void setServersPersistence(Map<String,ServerData> serversPersistence)
serversPersistence -