Hi,

I am using google guice framework in my application. 
injector = Guice.createInjector(xxxxx);
This is how we have the instance of injector created on startup.
inst = injector.getInstance(xxxxx.class);
This is how we get the instance of class needed.
I have following questions:
1. Will the instance be garbage collected once this method call completes.
2. When does garbage collection happens for objects created by guice 
framework, we use two types of bindings - singleton and default

Also it would be helpful if you can share a document explaining the 
lifecycle of both singleton and default objects created from google guice.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/7e031616-320c-4899-87df-9b25087b907bn%40googlegroups.com.

Reply via email to