I've been searching for information on how to use guice to lookup
dependencies with salve, the wiki only mentions how to add the guice
locator but I believe that is not working (at least not by it self).
I've got a class in a wicket application that is not a component, but I
need a service
Hi Edgar,
did you use either static weaving or the runtime agent as described at
http://code.google.com/p/salve/wiki/ConfiguringInstrumentation ?
Kristof
On Tue, Oct 21, 2008 at 11:42 AM, Edgar Merino [EMAIL PROTECTED] wrote:
I've been searching for information on how to use guice to lookup
cases static injection.
regards,
Guðmundur Bjarni
--
View this message in context:
http://www.nabble.com/Salve-and-Guice-tp20087649p20088079.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e
Wicket component. You
also have the option of using Providers if you need something dep. injected
or in the difficult cases static injection.
regards,
Guðmundur Bjarni
--
View this message in context:
http://www.nabble.com/Salve-and-Guice-tp20087649p20088079.html
Sent from the Wicket
the class.
so
your classes are smaller and there are no serialization problems
whatsoever
as far as dependencies go.
-igor
--
View this message in context:
http://www.nabble.com/Salve-and-Guice-tp20087649p20100143.html
Sent from the Wicket - User mailing list archive at Nabble.com
As far as I know, salve will only modify bytecode, it should do that
only once, after the JIT compiler comes in there should be no more
overhead. Correct me if I'm wrong, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree that static injection is fugly, it makes unit tests very sad
Also, InjectorHolder.getInjector().inject(this) does not work with
guice, it returns an illegalstateexception saying there's no injector
assigned for the holder. It would be nice to have more documentation on
how to use salve, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree that
i am not sure where exactly the documentation lacks...there is a wiki that
shows how to configure everything. anyways, salve stuff is better taken to
the salve discussion group so we dont pollute this list.
-igor
On Tue, Oct 21, 2008 at 4:02 PM, Edgar Merino [EMAIL PROTECTED] wrote:
Also,