|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.biojava.spice.config.RegistryConfigIO
a class to contact and retreive the configuration from a DAS registry server. also provide GUI window to active / deactive DAS servers.
| Field Summary | |
static long |
TIME_BETWEEN_UPDATES
|
| Constructor Summary | |
RegistryConfigIO(URL[] registryurl)
|
|
| Method Summary | |
void |
addConfigListener(ConfigurationListener listener)
|
void |
newConfigRetrieved(RegistryConfiguration config)
waiting for the thread that contacts the DAS registry to finish |
void |
run()
|
void |
saveConfiguration()
write back the config to the SPICE application |
void |
setConfiguration(RegistryConfiguration regi)
set config fromoutside |
void |
setForceUpdate(boolean flag)
enforce connecting to the registry, default: false |
void |
setNoUpdate(boolean flag)
set flag if contaction should not be performed forceUpdate is stronger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final long TIME_BETWEEN_UPDATES
| Constructor Detail |
public RegistryConfigIO(URL[] registryurl)
| Method Detail |
public void setNoUpdate(boolean flag)
flag - public void setForceUpdate(boolean flag)
flag - public void addConfigListener(ConfigurationListener listener)
public void run()
run in interface Runnablepublic void saveConfiguration()
public void setConfiguration(RegistryConfiguration regi)
regi - the configpublic void newConfigRetrieved(RegistryConfiguration config)
newConfigRetrieved in interface ConfigurationListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||