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 RASIDataStore
RASIDataStore
defines an interface to allow RAS configuration data to be saved to and restored from persistent storage (such as a properties file on disk).RASManager
requires an object that implements this interface.- See Also:
RASBaseGroup
,RASDefaultDataStore
,RASPropertyDataStore
-
-
Method Summary
Methods Modifier and Type Method and Description RASBaseGroup
restoreConfig()
Deprecated.Restores theRASManager
configuration from persistent storage.void
saveConfig(RASBaseGroup baseGroup)
Deprecated.Saves theRASManager
configuration to persistent storage.
-
-
-
Method Detail
-
restoreConfig
RASBaseGroup restoreConfig() throws RASIOException
Deprecated.Restores theRASManager
configuration from persistent storage. This method is called automatically when theRASManager
is created and can be called anytime the stored configuration should be reloaded.- Returns:
- A
RASBaseGroup
which holds the configuration loaded from persistent store. - Throws:
RASIOException
- ARASIOException
is thrown if an error occurs while loading the configuration from the data store.
-
saveConfig
void saveConfig(RASBaseGroup baseGroup) throws RASIOException
Deprecated.Saves theRASManager
configuration to persistent storage.- Parameters:
baseGroup
- TheRASBaseGroup
which holds the configuration to be saved in persistent store.- Throws:
RASIOException
- ARASIOException
is thrown if an error occurs while writing the configuration to the data store.
-
-