Project

General

Profile

task #3320

Correct use of CdmApplicationDefaultConfiguration

Added by Andreas Kohlbecker about 6 years ago. Updated 3 months ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Start date:
07/06/2016
Due date:
% Done:

33%

Severity:
normal
Tags:

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:

  1. CdmApplicationDefaultConfiguration should be named like CdmRepository or CdmStore !!! #6419:
  2. All classes autowiring any service class should rather be autowiring CdmApplicationDefaultConfiguration wheras the injection should happen at an abtsract base class. #6420
  3. 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

Subtasks

task #6419: CdmApplicationDefaultConfiguration should be named CdmRepositoryClosedAndreas Kohlbecker

task #6420: Autowire CdmApplicationDefaultConfiguration instead of subclasses of ICdmServ iceNewAndreas Müller


Related issues

Related to Edit - task #5285: Use Vaadin Spring Add-on Closed

History

#1 Updated by Andreas Kohlbecker about 6 years ago

ICdmApplicationConfiguration bean explicitly defined in services.xml, otherwise it is not found somehow : r17232

#2 Updated by Andreas Kohlbecker about 6 years ago

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

#3 Updated by Andreas Kohlbecker over 2 years ago

  • Related to task #5285: Use Vaadin Spring Add-on added

#4 Updated by Andreas Kohlbecker over 2 years ago

  • Description updated (diff)

#5 Updated by Andreas Kohlbecker over 2 years ago

  • Subject changed from Correct use of CdmApplicationDefaultConfiguration [DISCUSS] to Correct use of CdmApplicationDefaultConfiguration

#6 Updated by Andreas Kohlbecker over 2 years ago

  • Target version changed from cdmlib - Next Major Release to Release 4.7
  • Private changed from Yes to No

#7 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)

#8 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.7 to Release 4.8

#9 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.8 to Release 4.9

#10 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.9 to Release 4.10

#11 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.10 to Release 4.12

#12 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#13 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.13 to Release 4.14

#14 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.14 to Release 5.0

#15 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.0 to Release 5.1

#16 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 5.1 to Release 5.2

#17 Updated by Andreas Müller 9 months ago

  • Target version changed from Release 5.2 to Release 5.3

#18 Updated by Andreas Müller 9 months ago

  • Target version changed from Release 5.3 to Release 5.4

#19 Updated by Andreas Müller 7 months ago

  • Target version changed from Release 5.4 to Release 5.5

#20 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.5 to Release 5.6

#21 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.6 to Reviewed Next Major Release

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)