com.ibm.ras.mgr
Interface RASIDataStore
-
- All Known Implementing Classes:
- RASDefaultDataStore, RASPropertyDataStore
Deprecated.As of WAS 6.0, recommend using java.util.logging
public interface RASIDataStoreRASIDataStoredefines an interface to allow RAS configuration data to be saved to and restored from persistent storage (such as a properties file on disk).RASManagerrequires an object that implements this interface.- See Also:
RASBaseGroup,RASDefaultDataStore,RASPropertyDataStore
-
-
Method Summary
Methods Modifier and Type Method and Description RASBaseGrouprestoreConfig()Deprecated.Restores theRASManagerconfiguration from persistent storage.voidsaveConfig(RASBaseGroup baseGroup)Deprecated.Saves theRASManagerconfiguration to persistent storage.
-
-
-
Method Detail
-
restoreConfig
RASBaseGroup restoreConfig() throws RASIOException
Deprecated.Restores theRASManagerconfiguration from persistent storage. This method is called automatically when theRASManageris created and can be called anytime the stored configuration should be reloaded.- Returns:
- A
RASBaseGroupwhich holds the configuration loaded from persistent store. - Throws:
RASIOException- ARASIOExceptionis thrown if an error occurs while loading the configuration from the data store.
-
saveConfig
void saveConfig(RASBaseGroup baseGroup) throws RASIOException
Deprecated.Saves theRASManagerconfiguration to persistent storage.- Parameters:
baseGroup- TheRASBaseGroupwhich holds the configuration to be saved in persistent store.- Throws:
RASIOException- ARASIOExceptionis thrown if an error occurs while writing the configuration to the data store.
-
-