|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Config
Base interface for configurations.
| Method Summary | |
|---|---|
void |
create(java.net.URL url)
Instantiate this config as a new Config with the persistence set to the specified URL. |
void |
invalidate()
Invalidate the config, ie force a reload (make isUpdated() return true). |
boolean |
isUpdated()
Check if an update is needed |
void |
store()
Store the current settings to the persistent storage. |
void |
update()
Update this config if needed (isUpdated() returns true), ie reload any cached data (if present). |
| Method Detail |
|---|
boolean isUpdated()
void update()
throws java.lang.InstantiationException
java.lang.InstantiationExceptionvoid invalidate()
void create(java.net.URL url)
throws java.io.IOException
java.io.IOException
void store()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||