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