Comment #41 on issue 62 by dhanji: Lifecycle support
http://code.google.com/p/google-guice/issues/detail?id=62

"he only missing piece now is being able to close resources which are bound  
to some scope (e.g. singleton,
request, session etc). There's no current way to implement @PreDestroy from  
JSR 250 or DisposableBean from
Spring using trunk of Guice."

Why not? you can register the objects before firing post-construct and  
provide an api or jvm shutdown hook to
call pre-destroy...

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to