Changes between Version 4 and Version 5 of DependencyInjection
- Timestamp:
- 07/07/12 22:22:25 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DependencyInjection
v4 v5 137 137 The main backwards compatibility issue will be the configuration. Services, harvesters, scheduled tasks should continue to work as they do now. On startup the system will check the configuration files and attempt to migrate them to the new version. A copy of the original configuration files will be made so the administrator can revert the change or compare the old and new configurations 138 138 As big or even bigger compatibility issue will be configuration overrides. They will be useable only for a small subset of cases. For example, to override SQL values and at the moment config-gui.xml is left alone so it will apply to that. The new way to override configuration will be to create a new spring configuration file and create a new bean of the same id as the bean you want to override. 139 An additional (and more powerful) method is to register a BeanPostProcessor which will have access to all beans and can modify them viaJavaBean setters.139 An additional (and more powerful) method is to register a !BeanPostProcessor which will have access to all beans and can modify them via !JavaBean setters. 140 140 141 141 == Risks ==