Project

General

Profile

Actions

task #3320

open

Correct use of CdmApplicationDefaultConfiguration

Added by Andreas Kohlbecker about 11 years ago. Updated 2 months ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Start date:
Due date:
% Done:

33%

Estimated time:
(Total: 0:00 h)
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 abstract 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 2 (1 open1 closed)

task #6419: CdmApplicationDefaultConfiguration should be named CdmRepositoryClosedAndreas Kohlbecker

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

Actions

Related issues

Related to EDIT - task #5285: Use Vaadin Spring Add-onClosedAndreas Kohlbecker

Actions
Related to EDIT - task #10189: Split CdmApplicationController into repository and application partClosedKatja Luther

Actions
Actions

Also available in: Atom PDF