com.evermind.util
Interface Config

All Known Subinterfaces:
UserManager
All Known Implementing Classes:
AbstractUserManager, DataSourceUserManager, EJBUserManager

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

isUpdated

boolean isUpdated()
Check if an update is needed


update

void update()
            throws java.lang.InstantiationException
Update this config if needed (isUpdated() returns true), ie reload any cached data (if present).

Throws:
java.lang.InstantiationException

invalidate

void invalidate()
Invalidate the config, ie force a reload (make isUpdated() return true).


create

void create(java.net.URL url)
            throws java.io.IOException
Instantiate this config as a new Config with the persistence set to the specified URL.

Throws:
java.io.IOException

store

void store()
           throws java.io.IOException
Store the current settings to the persistent storage. *ALWAYS* call .store() after an update operation.

Throws:
java.io.IOException