setter injection guice + wicket
- by chris-gr
Hi, I have a Wicket Web Page where I create a new Object of class A:
A a = new A(User u);
In A I would like to have setter injection, however this is actually not done. I have heard that one must provide an empty constructor but how is it possible to have also a non - empty constructor with setter injection?