|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.server.elo.handler.ConfigStorage
public class ConfigStorage
The Elo store that retrieves its information from the A-Select configuration file.
Concurrency issues:
-
Constructor Summary | |
---|---|
ConfigStorage()
Default constructor. |
Method Summary | |
---|---|
void |
destroy()
Does not really do anything. |
ELO |
getEloByID(java.lang.String sId)
returns an Elo object associated with the given ID. |
ELO |
getEloByURL(java.lang.String sURL)
returns an Elo object associated with the given URL. |
void |
init(java.lang.Object oConfigSection,
ConfigManager oConfigManager,
SystemLogger systemLogger)
Initializes the Elo store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigStorage()
Method Detail |
---|
public void destroy() throws ASelectException
destroy
in interface IELOStorage
ASelectException
- If clean-up fails.IELOStorage.destroy()
public ELO getEloByID(java.lang.String sId) throws ASelectStorageException
getEloByID
in interface IELOStorage
sId
- The id of the Elo.
Elo
object attached to the given ID or null
if the
Elo with the given ID could not be found.
ASelectStorageException
IELOStorage.getEloByID(java.lang.String)
public ELO getEloByURL(java.lang.String sURL) throws ASelectStorageException
getEloByURL
in interface IELOStorage
sURL
- The URL of the Elo.
Elo
object attached to the given URL or null
if the
Elo with the given URL could not be found.
ASelectStorageException
IELOStorage.getEloByURL(java.lang.String)
public void init(java.lang.Object oConfigSection, ConfigManager oConfigManager, SystemLogger systemLogger) throws ASelectException
init
in interface IELOStorage
oConfigSection
- Section from the configuration applicable for the Elo Store.oConfigManager
- The configuration manager.systemLogger
- The system logger.
ASelectException
- If an error occurs while processing the configuration.IELOStorage.init(java.lang.Object, org.aselect.system.configmanager.ConfigManager, org.aselect.system.logging.SystemLogger)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |