]
Gavin King closed WELD-11.
--------------------------
Resolution: Out of Date
CDI supports setter injection:
@Inject
setFoo(Foo foo) { .... }
Support setter injection
------------------------
Key: WELD-11
URL:
https://jira.jboss.org/jira/browse/WELD-11
Project: Weld
Issue Type: Feature Request
Components: Class Beans (Managed and Session)
Reporter: Kabir Khan
Fix For: 1.0.1.CR1
On 15 Aug 2009, at 10:17, Pete Muir wrote:
It's pretty straightforward, probably 2h work, inc. a few tests.
Essentially, we just have to add some MethodInjectionPoints when the class based beans
are created, and call them when a bean is injected. The only hard part is deciding on the
exact semantics - like do the method names have to be JavaBean compliant (always start
isXXX) and have void return type? what are the error conditions (can't put @Produces,
@Disposes, @Observes on them) etc.
Put a feature request in JIRA for CR2 I guess (until CR1 I have to concentrate on spec
features really).
On 14 Aug 2009, at 18:12, Kabir Khan wrote:
kkhan:pmuir: How much work would it be to support setter injection
[17:58]kkhan:?
[17:59]kkhan:I know you said it is not required for 1.0 of CDI, but I think it would be
nice to have
[17:59]kkhan:especially from the MC side
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: