Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-19 Thread Simone Tripodi
Nice to have Joerg, every contributions is always welcome :) Feel free to add that feature, I'd like to add the Guice integration as well since it is a common pattern I've been repeating over the time :P Have a nice day, all the best!!! Simo http://people.apache.org/~simonetripodi/ http://www.99so

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-18 Thread Jörg Schaible
Simone Tripodi wrote: > Hi all guys, > looks there are not objections on adding 3rd parties integration > modules on [Discovery], I'll take care on it as soon as I receive my > new laptop with working development environment :) Is it all about to get a Java SPI that supports arguments for the cto

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-18 Thread Simone Tripodi
Hi all guys, looks there are not objections on adding 3rd parties integration modules on [Discovery], I'll take care on it as soon as I receive my new laptop with working development environment :) Thanks a lot for your feedbacks Matt!!! Have a nice day, all the best, Simo http://people.apache.org

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Matt Benson
On Mon, Jul 11, 2011 at 11:52 AM, Simone Tripodi wrote: > Hi Matt!!! > I still continue preferring Discovery over Java6 ServiceLoader just > for a small reason: it allows iterating over Classes instead of > Instances, that makes easier integration with DI/IoC frameworks. > Indeed, with the Guice m

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Simone Tripodi
Hi Matt!!! I still continue preferring Discovery over Java6 ServiceLoader just for a small reason: it allows iterating over Classes instead of Instances, that makes easier integration with DI/IoC frameworks. Indeed, with the Guice module, like shown in the link in my first email, I let instantiatin

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Matt Benson
On Mon, Jul 11, 2011 at 10:02 AM, Simone Tripodi wrote: > Hi Matt, > it sounds indeed reasonable, thanks for your feedbacks! > Moreover what is you are suggesting is what we did in BVAL... Yes, exactly like bval... :) > Do you see any risk on splitting current Discovery project structure > in mu

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Simone Tripodi
Hi Matt, it sounds indeed reasonable, thanks for your feedbacks! Moreover what is you are suggesting is what we did in BVAL... Do you see any risk on splitting current Discovery project structure in multi module? Many thanks in advance, have a nice day! Simo http://people.apache.org/~simonetripodi

Re: [DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Matt Benson
On Mon, Jul 11, 2011 at 9:28 AM, Simone Tripodi wrote: > Hi all guys, > lately in my projects I've been frequently repeating the pattern > described in [1], so, to avoid useless c'n'p I would propose to > provide an already compiled module that makes easier the Google Guice > integration with Disc

[DISCOVERY][DISCUSS] additional class for Google Guice integration

2011-07-11 Thread Simone Tripodi
Hi all guys, lately in my projects I've been frequently repeating the pattern described in [1], so, to avoid useless c'n'p I would propose to provide an already compiled module that makes easier the Google Guice integration with Discovery. Google Guice could be provided as a 'optional' or 'provided