Hello All! I'm new with guice and trying to use guice in my small hobby project.
Some easy things works just fine and I really enjoy using guice, but I have one place where I need help. So, I have main JFrame in my app and a bunch of Dialogs that I extends from JDialog. All my Diaolgs have only one consructor: such as: public MyDialog(Window owner) And my problem: HOW I could instantiate my dialogs with guice from my main JFrame ? I need something like: injector.getInstance(MyDialog.class, this); I mean that guice should serach for constructor that feets for supplied args and call it for me. Or I shoud use SCOPE here? OR something else? Any suggestions? Alexey --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
