Hi all,

I wanted to try the @Singleton annotation in guice with sort of data
facade. What concerns me is the scope of the created singleton. Javadoc
says its a singleton per Injector. So if I create configured
InjectorHolder and return Injector in Application's init(), does it mean
there is a singleton for the whole application (thus for all sessions)?

I would prefer per session based singleton, because the facade
construction is not short, I don't want to instantiate it every
time it's injected. Have you ever considered this -- any ideas?

Regards,

-- 
Marek Šabo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to