public interface GazetteerManager
Modifier and Type | Method and Description |
---|---|
IGazetteerServiceDriver |
getDriver(java.lang.String protocol)
It is used to retrieve a driver that supports a concrete
protocol
|
IGazetteerServiceDriver[] |
getDrivers() |
java.lang.String |
getUsername(java.lang.String protocol)
Returns username for a given protocol
|
void |
register(java.lang.String name,
java.lang.Class driver)
This method is used to register a new gazetter driver
that manage a concrete protocol
|
void |
setUsername(java.lang.String protocol,
java.lang.String username)
Saves username for a given protocol
|
void |
setUsernames(java.util.Map usernames)
Receives Map with the saved usernames for the different protocols
|
IGazetteerServiceDriver getDriver(java.lang.String protocol)
protocol
- Gazetteer protocolIGazetteerServiceDriver[] getDrivers()
void register(java.lang.String name, java.lang.Class driver)
driver
- Gazetteer driver to registerjava.lang.String getUsername(java.lang.String protocol)
protocol
- void setUsername(java.lang.String protocol, java.lang.String username)
protocol
- username
- void setUsernames(java.util.Map usernames)
usernames
-