IBM WebSphere Application ServerTM
Release 8

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
 RASBaseGroup restoreConfig()
          Deprecated. Restores the RASManager configuration from persistent storage.
 void saveConfig(RASBaseGroup baseGroup)
          Deprecated. Saves the RASManager configuration to persistent storage.
 

Method Detail

restoreConfig

RASBaseGroup restoreConfig()
                           throws RASIOException
Deprecated. 
Restores the RASManager configuration from persistent storage. This method is called automatically when the RASManager 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 - A RASIOException is thrown if an error occurs while loading the configuration from the data store.

saveConfig

void saveConfig(RASBaseGroup baseGroup)
                throws RASIOException
Deprecated. 
Saves the RASManager configuration to persistent storage.

Parameters:
baseGroup - The RASBaseGroup which holds the configuration to be saved in persistent store.
Throws:
RASIOException - A RASIOException is thrown if an error occurs while writing the configuration to the data store.

IBM WebSphere Application ServerTM
Release 8