Thanks! This is exactly what I was looking for. And it uses the public Guice SPI which is a good thing.
在 2012年12月11日星期二UTC+8下午7时39分12秒,Stuart McCulloch写道: > > There's also http://99soft.github.com/lifegycle/ which recently moved to > Apache: http://onami.incubator.apache.org/lifecycle/ > > On 11 Dec 2012, at 05:48, Michael wrote: > > Thanks, I will take a look at Netflix. > > 在 2012年12月11日星期二UTC+8上午2时23分07秒,Randgalt写道: >> >> There are several projects that add Lifecycle support to Guice. >> GuiceyFruit is one (I don't know if it's still being maintained). We >> (Netflix) recently opened a project that adds Lifecycle support (and other >> stuff): https://github.com/Netflix/governator >> >> -JZ >> >> On Sunday, December 9, 2012 9:11:34 PM UTC-8, Michael wrote: >>> >>> Hi all, >>> >>> Does anyone know the process about the issue 'lifecycle support' >>> http://code.google.com/p/google-guice/issues/detail?id=62&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Component >>> >>> Currently I am facing the problem about this part. I implemented the >>> init method by using provider and call init() within the get() of the >>> provider. >>> >>> But how about the destroy method, How could I do this in Guice ? >>> Especially for servlet request scope. >>> >>> Many thanks! >>> >> > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-guice/-/cYvi10Z0G9wJ. > To post to this group, send email to [email protected]<javascript:> > . > To unsubscribe from this group, send email to > [email protected] <javascript:>. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/UFfFdSUMXZEJ. 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.
