Comment by [email protected]:
`@Garci`, you don't inject `RealPayment` directly, you inject
`RealPaymentFactory` and call the `injectedRealPaymentFactory.create()`
method with the appropriate parameters populated. Or do you want two
different ways to construct `RealPayment`, one with default values in place
of the `@Assisted` parameters, and one with `@Assisted` parameters?
For more information:
http://code.google.com/p/google-guice/wiki/AssistedInject
--
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.