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);
Original issue reported on code.google.com by cgruber@google.com on 6 Dec 2011 at 4:38
Original issue reported on code.google.com by
cgruber@google.com
on 6 Dec 2011 at 4:38