(no commit message)
[utils] / system / TODO.txt
1 uniqueId van provided interface moet worden gezet door provided interface zelf.
2
3 opzoeken waar de provided interfaces van de scope gebruikt worden, als het
4 goed is nog nergens. Scope moet een Component worden en publiceren van een 
5 interface leidt tot een nieuw provided interface.
6
7 checks implementeren in de connect methodes van de container op de juiste ids.
8
9 Wrapper maken voor read-only access to required interfaces en provided interfaces.
10
11 Component infrastructure
12 * support simple component
13   - requires through constructor
14   - provides through getters
15 * optional start and stop methods
16 * giving names to a component must be optional
17 * support for cached components and non-cached components.
18
19
20 - Annotaties definieren
21
22
23 @Component
24   class MyComponent {  
25
26   public MyComponent(Def aArg, Ghi aArg2) { 
27   }
28
29   @Provided(name = "name")
30   public Xyz getXyz();
31
32   @Start
33   public void myStart(); // Unlike the component
34 }
35
36 - Algemene classes maken die de constructor, start method, en 
37   methodes  identificeren om de component als Component te benaderen. 
38   in een object, samen met een wrapper die deze info gebruikt om het
39   object als Component te exportern. 
40   Er moet ook een wrapper zijn voor reeds geinstantieerde  objecten.
41
42 - wrapper maken die geannoteerde classes interpreteert en via de eerdere
43   wrapper het object ontsluiten als component. 
44   Zowel geinstantieerde objecten als classes ondersteunen. 
45
46 - add support for private setters.
47 - add support or exposing provided services 
48   - superclass or interface of the concrete type instead of the concrete type
49     or not based on the concrete type at all. 
50   - based on getters. 
51 - add support for field injection. 
52
53 - add support for annotation based configuration instead of API-based
54
55 - add support for type conversions. 
56
57 - add support for multiplicity. 
58
59 - add support for aggregating multiple servicss. 
60
61 - add support for explicitly configuring which provided interface of 
62   a container is provided by which internal service. 
63
64 - do not use equality but use logic for matching external required and
65   provided interfaces of a container. 
66
67   e.g. a service T provided by a container can be provided by a service 
68   U that provides subclasses of the provided interfaces of T
69
70   a service T required by a component inside a container is covered
71   by stronger requirements for subclasses of T. 
72
73 - separate logic for connecting required and provided interfaces 
74   through a general graph model of the application. 
75   Then use generic filters, validations, and graph traversal APIs 
76   to implement the current functionality in the container.