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