| From | Sent On | Attachments |
|---|---|---|
| Michael Rowley | Sep 25, 2007 3:31 pm | |
| Barack, Ron | Oct 4, 2007 2:30 am | |
| Michael Rowley | Oct 4, 2007 6:30 am | |
| Peshev, Peter | Oct 5, 2007 12:12 am | |
| Simon Nash | Nov 1, 2007 10:13 am | |
| Blohm, Henning | Nov 1, 2007 11:15 am | |
| Simon Nash | Nov 2, 2007 3:17 am | |
| Mike Edwards | Nov 5, 2007 2:46 am | |
| Michael Rowley | Nov 29, 2007 12:19 pm | |
| Peshev, Peter | Nov 29, 2007 1:31 pm | |
| Michael Rowley | Nov 30, 2007 4:45 pm | |
| Mike Edwards | Dec 4, 2007 7:22 am | |
| David Booz | Dec 4, 2007 12:59 pm | |
| Michael Rowley | Dec 4, 2007 5:07 pm | |
| Michael Rowley | Dec 4, 2007 5:11 pm | |
| David Booz | Dec 4, 2007 6:37 pm | |
| Mike Edwards | Dec 5, 2007 1:52 am | |
| Mike Edwards | Dec 5, 2007 1:58 am | |
| David Booz | Dec 5, 2007 5:35 am | |
| Mike Edwards | Dec 5, 2007 5:57 am | |
| Blohm, Henning | Dec 5, 2007 7:05 am | |
| Peshev, Peter | Dec 6, 2007 1:05 am | |
| Michael Rowley | Dec 6, 2007 5:18 am | |
| Mike Edwards | Dec 6, 2007 9:07 am | |
| Peshev, Peter | Dec 7, 2007 12:58 am | |
| Peshev, Peter | Dec 7, 2007 2:29 am | |
| Michael Rowley | Dec 7, 2007 7:55 am | |
| Mike Edwards | Dec 7, 2007 8:50 am |
| Subject: | NEW ISSUE: Dependency reinjection | |
|---|---|---|
| From: | Michael Rowley (mrow...@bea.com) | |
| Date: | Sep 25, 2007 3:31:00 pm | |
| List: | org.oasis-open.lists.sca-j | |
TARGET: Java Common Annotations and APIs specification
section "@Reference"
DESCRIPTION:
The description of the @Reference annotation does not specify what happens if the wire changes after the component has been instantiated. One example of a place where this could occur is for a composite-scoped component that exists at the domain level. The target of its reference could start off unwired (and thus would be null). A later deployment could deploy a <wire source="" target=""> element which provides a target for this component.
PROPOSAL:
In the above scenario, when constructor-based injection is not being used, the target MAY be reinjected.
This would be marked as "MAY" behavior, since it would not be required of all runtimes. However, the developer who is creating portable code needs to know that this reinjection may occur.
Other scenarios where such reinjection may occur is TBD. Note that reinjection should never occur for a conversational-scoped component that is in middle of its conversation.





