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