Interface InstanceConfig
-
- All Known Subinterfaces:
InstanceConfigCache
- All Known Implementing Classes:
OsgiInstanceConfig
public interface InstanceConfigAllows saving and restoring an instance configuration. Implementations define the behaviour of save() and restore()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceConfigrestore()Restores the saved status of the configurationInstanceConfigsave()Saves the current status of the configuration
-
-
-
Method Detail
-
save
InstanceConfig save() throws InstanceConfigException, InterruptedException
Saves the current status of the configuration- Returns:
- this
- Throws:
InstanceConfigException- if saving the configuration failsInterruptedException- if interrupted
-
restore
InstanceConfig restore() throws InstanceConfigException, InterruptedException
Restores the saved status of the configuration- Returns:
- this
- Throws:
InstanceConfigException- if restoring the configuration failsInterruptedException- if interrupted
-
-