- public PluginStoreConfigurationBackend(PluginStore pluginStore) {
- this.pluginStore = pluginStore;
+ public PluginStoreConfigurationBackend(PluginRespirator pluginRespirator) throws DatabaseDisabledException {
+ this.pluginRespirator = pluginRespirator;
+ this.pluginStore = pluginRespirator.getStore();
+ if (this.pluginStore == null) {
+ throw new DatabaseDisabledException();
+ }