Hi, I've found very useful to define services shared among my modules as interfaces, in a standalone "jar" that doesn't have any dependencies, it's kind of "API" for my app.
The problem I'm facing, is that I would like to provide a service (let's call it PaymentService as in the guice example itself), that can have several annotated bindings, like, again, @Paypal and @Visa I found it cleaner if those annotations were available in the shared- services jar, but I can't write them without depending on guice jar, this is due to the @BindingAnnotation Is there a way to tell guice to consider my own annotations as binding annotation without introducing this "jar" dependencies ? I understand that guice uses it to "identify" annotations that are bindings, Is there a hack to tell him to also take into account @MyBindingAnnotation too ? thanks -- 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.
