Cool, I was actually thinking why no one did this. So youre right on spot.. Also with ibaguice, which i'll look into.
The only thing I find a bit annoying about guice versus spring are that the spring guys really does a great job of packaging multiple components and delivering information about the fact that they exist. Which is a little harder with Guice, I guess a page about "3rd party" libraries on guice core wiki would be a good place to put such information.. regards Nino 2010/6/3 Simone Tripodi <[email protected]>: > Hola Nino, > just a margin note: of you're interested in @InjectLogger I recently > "frameworkified" it for all known logging libraries: > http://code.google.com/p/sli4j/ > Hasta pronto, > Simo > > http://people.apache.org/~simonetripodi/ > > > > On Wed, Jun 2, 2010 at 7:26 PM, nino martinez wael > <[email protected]> wrote: >> Hi Simone >> >> Thanks for the idea, I did'nt think of even though I have used it >> before (making the @logger). >> >> Following your approach it would require the user to do 2 things, put >> the @scheduled annotation plus binding the class in a guice config.. >> But it's a low performance impact highly configurable way, so I like >> it :) >> >> Saludos, med venlig hilsen >> >> -Nino >> >> 2010/6/1 Simone Tripodi <[email protected]>: >>> Hola Nino, >>> I don't know if it could help, but take a look at the TypeListener[1]; >>> in the wiki page they show how to inject custom fields using the >>> Listener, but you could use it for different purposes. I like your >>> idea!! :) >>> All the best, saludos, >>> Simo >>> >>> [1] http://code.google.com/p/google-guice/wiki/CustomInjections >>> >>> http://people.apache.org/~simonetripodi/ >>> >>> >>> >>> On Tue, Jun 1, 2010 at 7:51 PM, nino martinez wael >>> <[email protected]> wrote: >>>> Hi >>>> >>>> Im fiddling about trying to do some schedule annotations for guice >>>> (basically an integration for quartz). So the idea are to place a >>>> @scheduled(cron="validcronstring") annotation on a class or method and >>>> then it will be setup to be scheduled.. But for this I don't really >>>> need a method interceptor I just need something that will scan >>>> classpath and check for the annotations on startup or something like >>>> that.. >>>> >>>> How should I do that using Guice? >>>> >>>> regards Nino >>>> >>>> -- >>>> 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. >> >> > > -- > 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.
