2008/8/18 Lukas Zapletal <[EMAIL PROTECTED]>

>
> Hello,
>
> I have read some threads about lifecycle support but I did not find
> any examples for Guice 1.0. I need to implement simple lifecycle
> (start, stop) support now in the current version. I was thinking to
> create AbstractLifecycleModule (extending Module) with start/stop
> methods. Or maybe to create event mechanism (listener, event - just
> like in Swing).
>
> What do you recommend?
>

personally, for Guice 1.0 I'd probably use the registry approach:

  http://groups.google.com/group/google-guice/msg/20a5b29ebd9b535b

as it's relatively easy to understand and maintain, but extending
module is another solution - neither should require much coding

Thanks in advance, LZ
> >
>


-- 
Cheers, Stuart

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to