Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
If a multicasting proxy was supplied when there are multiple implementations of an interface, instead of throwing AmbiguousComponentResolutionException, pico would have a way of broadcasting events to pico components from within pico components.
I've supplied a patch with a unit test which illustrates what I mean. The patch also makes the test pass (its only about 10 lines). Of course this causes the AmbiguousComponentResolutionException to fail.
I'm not sure if this is better but it would be more explicit if pico only created a multicasting proxy for interfaces which extend the marker interface java.util.EventListener.
Activity

Field | Original Value | New Value |
---|---|---|
Attachment | patch.txt [ 10625 ] |

Assignee | Aslak Hellesoy [ rinkrank ] | |
Status | Unassigned [ 1 ] | Assigned [ 2 ] |

Status | Assigned [ 2 ] | In Progress [ 3 ] |

Affects Version/s | 1.0-beta-2 [ 10217 ] | |
Fix Version/s | 1.0-beta-2 [ 10217 ] |

Fix Version/s | 1.0 [ 10145 ] | |
Affects Version/s | 1.0 [ 10145 ] | |
Priority | Minor [ 4 ] | Major [ 3 ] |
Fix Version/s | 1.0-beta-2 [ 10217 ] | |
Affects Version/s | 1.0-beta-2 [ 10217 ] |

Status | In Progress [ 3 ] | Assigned [ 2 ] |
Assignee | Aslak Hellesoy [ rinkrank ] | Chris Stevenson [ skizz ] |

Affects Version/s | 1.0 [ 10145 ] | |
Fix Version/s | 1.0 [ 10145 ] | |
Fix Version/s | 1.0.1 [ 10307 ] | |
Affects Version/s | 1.0.1 [ 10307 ] |

Resolution | Won't Fix [ 2 ] | |
Fix Version/s | 1.0.1 [ 10307 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
A patch which adds a unit test and patches DefaultComponentRegistry so the test passes.