Re: More guice serialization problems

2008-10-16 Thread Igor Vaynberg
salve removes fields and performs just in time lookup of the dependency. so no serialization errors and your instances take up less ram. as far as wicket's guice support goes you should really do this InjectorHolder.getInjector().inject(this) - this will inject proxies instead of actual dependenci

More guice serialization problems

2008-10-16 Thread Edgar Merino
Hello once again, wicket-guice integration has been working good for me, but I needed to get some injected services in classes that were not Components, so I did: Injector injector = ( (GuiceInjectorHolder) RequestCycle.get().getApplication().getMetaData(GuiceInjectorHolder.INJECTOR_KEY)).