Comment #76 on issue 62 by [email protected]: Lifecycle support
http://code.google.com/p/google-guice/issues/detail?id=62
The usecase I have is mostly in getting rid of Providers.
Basically, once everything is wired up (config) I want to then 'start stuff
up', this includes making external connections based on bindings, and so
on. It's a very good match for @PostConstruct.
@PreDestroy I haven't used. I tend to prefer explicit demarcation lines to
denote scope ends, rather than have it done for me.
--
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.