I was just about to suggest annotating the init method on the interface with the @Inject annotation.
Turns out, that doesn't work either. On Wed, Aug 21, 2013 at 11:31 AM, <[email protected]> wrote: > In *com.google.inject.matcher.Matchers$SubclassesOf* > > -------------- > public boolean matches(Class subclass) { > return superclass.isAssignableFrom(subclass); > } > -------------- > > It sadly does the same thing than what I explicitly do. > > > > > > On Tuesday, August 20, 2013 10:44:28 PM UTC-4, Nate Bauernfeind wrote: > >> Did you try using Matchers.subclassesOf(**InitableAfterCreation.class)? >> >> >> ******** > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
