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

Just to keep this thread up to date; using trunk of Guice its now easy to  
implement @Resource injection (this
works perfectly now in GuiceyFruit using the trunk of Guice) and  
@PostContruct is pretty much there - though
there's a potential ordering issue of post inject hooks being invoked  
before custom injections have all taken
place - see
http://code.google.com/p/google-guice/issues/detail?id=351

The 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.

I'll try refactor my old patches into a simpler patch just for this issue  
and spin up a new issue to track its
progress



--
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