Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-5
-
Fix Version/s: 1.0-beta-5
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
Enable 'empty' ComponentParameter creation for letting the container resolve the dependency of the component type parameter.
Example code:
container = new DefaultPicoContainer();
container.registerComponentImplementation(A.class);
container.registerComponentImplementation(B.class, B.class, new Parameter[]
);
Currently ComponentParameter cannot be instantiated without a concrete object argument.
See thread for details on devel list:
http://lists.codehaus.org/pipermail/picocontainer-dev/2003-November/001546.html
Issue Links
- is depended upon by
-
PICO-97
pass expected type of the constructor/setter argument to Parameter.resolveAdapter(..) method
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jon Tirsen [ tirsen ] |
| Fix Version/s | 1.0 [ 10145 ] | |
| Environment | ||
| Affects Version/s | 1.0 [ 10145 ] |
| Fix Version/s | 1.0 [ 10145 ] | |
| Fix Version/s | 1.0-beta-4 [ 10412 ] |
| Priority | Minor [ 4 ] | Blocker [ 1 ] |
| Fix Version/s | 1.0 [ 10145 ] | |
| Priority | Blocker [ 1 ] | Critical [ 2 ] |
| Environment | ||
| Fix Version/s | 1.0-beta-4 [ 10412 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Jon Tirsen [ tirsen ] | Aslak Hellesoy [ rinkrank ] |
PICO-97fixes this issue according to Jozsa