task #3320
open
Correct use of CdmApplicationDefaultConfiguration
Added by Andreas Kohlbecker about 11 years ago.
Updated 2 months ago.
Estimated time:
(Total: 0:00 h)
Description
To me it seems as if the the CdmApplicationDefaultConfiguration
is not used in the right way throughout in the cdmlib. This might be due by the name which has been given to this class. This class actually is the central access point to all cdm api services and thus to all the entities stored in the cdm. From this point of view this class provides the "repository" view on the cdm which has been discussed with Ben in December 2009 at the final EDIT General Meeting in Paris. Calling this class a "configuration" is not wrong per se but it makes only sense if you see it under the aspect of Spring configuration. For an application programmer it actually is the repository to by which you can access everything.
Related tasks:
CdmApplicationDefaultConfiguration
should be named like CdmRepository
or CdmStore
!!! #6419:
- All classes autowiring any service class should rather be autowiring
CdmApplicationDefaultConfiguration
wheras the injection should happen at an abstract base class. #6420
- CdmIoBase must not extend the CdmApplicationDefaultConfiguration, instead inject it as bean, this avoids multiple instantiations and a lot of unnecessary bean injection and thus would for sure speed up the application context intitialization. #5393
ICdmApplicationConfiguration bean explicitly defined in services.xml, otherwise it is not found somehow : r17232
Replying to a.kohlbecker:
ICdmApplicationConfiguration bean explicitly defined in services.xml, otherwise it is not found somehow : r17232
trurned back in services.xml by r17243
- Related to task #5285: Use Vaadin Spring Add-on added
- Description updated (diff)
- Subject changed from Correct use of CdmApplicationDefaultConfiguration [DISCUSS] to Correct use of CdmApplicationDefaultConfiguration
- Target version changed from cdmlib - Old Next Major Release to Release 4.7
- Private changed from Yes to No
- Description updated (diff)
- Target version changed from Release 4.7 to Release 4.8
- Target version changed from Release 4.8 to Release 4.9
- Target version changed from Release 4.9 to Release 4.10
- Target version changed from Release 4.10 to Release 4.12
- Target version changed from Release 4.12 to Release 4.13
- Target version changed from Release 4.13 to Release 4.14
- Target version changed from Release 4.14 to Release 5.0
- Target version changed from Release 5.0 to Release 5.1
- Target version changed from Release 5.1 to Release 5.2
- Target version changed from Release 5.2 to Release 5.3
- Target version changed from Release 5.3 to Release 5.4
- Target version changed from Release 5.4 to Release 5.5
- Target version changed from Release 5.5 to Release 5.6
- Target version changed from Release 5.6 to Reviewed Next Major Release
- Related to task #10189: Split CdmApplicationController into repository and application part added
- Description updated (diff)
Also available in: Atom
PDF