Status: New
Owner: ----
New issue 671 by cgruberatgoog: Optional injection not supported in JSR-330
integration - can we make an @Optional field annotation?
http://code.google.com/p/google-guice/issues/detail?id=671
Optional injection not supported in JSR-330 integration - can we make an
@Optional field annotation? This would allow
@Inject @Optional
public MyOptionalService service;
Guice would still support previous behaviour but would treat @Optional on
an @Inject-ed method as if it were com.google.inject.Inject(optional=true);
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.