Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We should look into providing a tool than reads source code and looks at the names of parameters to constructors. These names are the names of instances registered in Pico. Therefore no need for any external meta data.
e.g.
public class EmailService(Datasource source1, Datasource source2) {
}
Run this through the "source parser" and you get out a resource bundle that states that EmailService needs a Datasource called "source1" and another called "source2".
Write a particular NanoContainer that operates off this resource bundle and registers the components accordingly.
Activity
Aslak Hellesøy
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mike Hogan [ m081072 ] |
Aslak Hellesøy
made changes -
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
QDox is the perfect tool for this