You only exposed the EntityManager in your private module one. Therefore you can only have the EntityManager injected outside of your private module.
If you want to inject the PersistService you would have to expose it (with annotation). -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/eltHSCDwcNwJ. 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.
