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