Could you use a SetBinder/MapBinder to modularize your interceptors, then inject the Set/Map into a "main" interceptor using:
https://code.google.com/p/google-guice/wiki/AOP#Injecting_Interceptors On Mon, Mar 24, 2014 at 8:59 AM, Stephan Classen <[email protected]> wrote: > Ok, I have to be more specific :) > > The application is modular. So the different interceptors are located in > different modules. > Therefore they are not bound in a single place. Rather each module binds > the interceptor it knows about. > > At startup of the application it is decided which modules to load (and > consequently contribute to the injector) > and which not. > > > > > > On 03/24/2014 02:15 PM, Robert Voliva wrote: > > > https://google-guice.googlecode.com/git/javadoc/com/google/inject/Binder.html > > Checkout the Javadoc for the bindInterceptor method. > > > On Mon, Mar 24, 2014 at 3:13 AM, Stephan Classen <[email protected]>wrote: > >> Hi >> >> In a project we need the interceptors of a method to be in a specific >> order. >> Does Guice make any statement about the order in which the interceptors >> are executed? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/google-guice. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/d/optout.
