Hi all,
i have a problem about the basic understanding of the injection.
If I have class:
@Injectable
public class Boom (Foo foo, Bar bar) { ... }
with Foo and Bar interfaces which are injected via Modules / Provider
etc - so far so good, I know how to handle these.
But:
@Injectable
public class Bam(Foo foo, String importMessage) { ... }
how do I create (or let create) instances of it ? especially if due to
the workflow of the application 'importMessage' can be different ?
Is this injectable - I guess via a provider - but how ?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" 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?hl=en
-~----------~----~----~----~------~----~------~--~---