Changes between Version 1 and Version 2 of Ticket #529, comment 23


Ignore:
Timestamp:
Apr 7, 2014, 3:26:45 PM (11 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #529, comment 23

    v1 v2  
    55
    66 1. A `RuntimeException()` can be thrown by public method `void start()` in class `LabEnvService`, without upsetting the `ServiceControllerAction` Interface. By also letting private method `void fetchConfiguration()` in class `LabEnvironmentConfiguration` forward the contents of a catched exception as a `RuntimeException`, one doesn't have to declare that a number of methods throw exceptions.
    7  2. A new public method `void reloadLabEnvironmentConfiguration()` could be added to singleton class `LabEnvironment`, for forcing a reload of the configuration file.
     7 2. A new public method `void reloadLabEnvironmentConfiguration()` could be added to singleton class `LabEnvironment`, for forcing a reload of the configuration file. Class `LabEnvService` could then be updated in public method `void start()` to call `reloadLabEnvironmentConfiguration()`, to ensure that the configuration file is read, when the service is started.