Interface InstanceConfig
- All Known Subinterfaces:
InstanceConfigCache
- All Known Implementing Classes:
OsgiInstanceConfig
public interface InstanceConfig
Allows saving and restoring an instance configuration.
Implementations define the behaviour of save() and restore()
-
Method Details
-
save
Saves the current status of the configuration- Returns:
- this
- Throws:
InstanceConfigException
- if saving the configuration failsInterruptedException
- if interrupted
-
restore
Restores the saved status of the configuration- Returns:
- this
- Throws:
InstanceConfigException
- if restoring the configuration failsInterruptedException
- if interrupted
-