On 11 Dec 2012, at 23:44, Christian Gruber wrote: > So… sisu forked to get lifecycle…
Er... I don't quite get the connection here, lifegycle was developed by Simone Tripodi (http://www.99soft.org/) - it uses the public Guice SPI and is completely separate to Sisu. Sisu itself also only uses the public Guice SPI to add various behaviours / automatic wiring such as dynamic collections (think Map/List/etc. without having to explicitly define multibindings). If you're talking about Sisu-Guice then this is our minor branch of Guice that has various patches that we've found useful in production, but which have not yet been merged into Guice for various reasons. You can see the individual patches in https://github.com/sonatype/sisu-guice/tree/master/PATCHES along with their upstream issue numbers. Note that you can use Sisu with mainstream Guice if you want - you'd just need to build Guice from master, as Sisu uses the ProvisionListener API that was added after 3.0 > I wanted to chat about what was missing from Guice that would have allowed > lifecycle as a pure extension for Sonatype's needs. The only lifecycle code implemented in Sisu at the moment is the Plexus lifecycle support in Sisu-Plexus, which is a pure extension again built on top of the public Guice SPI. So I'm not sure what the question is here... > Christian. > > On 11 Dec 2012, at 6:39, Stuart McCulloch wrote: > >> 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]. >>> 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. >> >> -- >> 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. > > -- > 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. > -- 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.
