atom feed28 messages in org.oasis-open.lists.sca-jRE: [sca-j] ISSUE 4 - Dependency rein...
FromSent OnAttachments
Michael RowleySep 25, 2007 3:31 pm 
Barack, RonOct 4, 2007 2:30 am 
Michael RowleyOct 4, 2007 6:30 am 
Peshev, PeterOct 5, 2007 12:12 am 
Simon NashNov 1, 2007 10:13 am 
Blohm, HenningNov 1, 2007 11:15 am 
Simon NashNov 2, 2007 3:17 am 
Mike EdwardsNov 5, 2007 2:46 am 
Michael RowleyNov 29, 2007 12:19 pm 
Peshev, PeterNov 29, 2007 1:31 pm 
Michael RowleyNov 30, 2007 4:45 pm 
Mike EdwardsDec 4, 2007 7:22 am 
David BoozDec 4, 2007 12:59 pm 
Michael RowleyDec 4, 2007 5:07 pm 
Michael RowleyDec 4, 2007 5:11 pm 
David BoozDec 4, 2007 6:37 pm 
Mike EdwardsDec 5, 2007 1:52 am 
Mike EdwardsDec 5, 2007 1:58 am 
David BoozDec 5, 2007 5:35 am 
Mike EdwardsDec 5, 2007 5:57 am 
Blohm, HenningDec 5, 2007 7:05 am 
Peshev, PeterDec 6, 2007 1:05 am 
Michael RowleyDec 6, 2007 5:18 am 
Mike EdwardsDec 6, 2007 9:07 am 
Peshev, PeterDec 7, 2007 12:58 am 
Peshev, PeterDec 7, 2007 2:29 am 
Michael RowleyDec 7, 2007 7:55 am 
Mike EdwardsDec 7, 2007 8:50 am 
Subject:RE: [sca-j] ISSUE 4 - Dependency reinjection
From:Michael Rowley (mrow@bea.com)
Date:Oct 4, 2007 6:30:29 am
List:org.oasis-open.lists.sca-j

Subject line shortened.

------------------------------------------------------------------------------

From: Barack, Ron [mailto:ron.@sap.com] Sent: Thursday, October 04, 2007 5:27 AM To: sca@lists.oasis-open.org Subject: [sca-j] ISSUE LOGGED: JAVA-4: Dependency reinjection

http://www.osoa.org/jira/browse/JAVA-4

------------------------------------------------------------------------------

Von: Michael Rowley [mailto:mrow@bea.com] Gesendet: Mittwoch, 26. September 2007 00:31 An: sca@lists.oasis-open.org Betreff: [sca-j] NEW ISSUE: Dependency reinjection

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.