update: the problem is guice PersistFilter... it start java persistence service after my servlet listener call the method wich check to admin user...
i know the execution order is the problem, first listener and then filter (or when request comes to the application) any other way to make persistence service active whem application start (before filters)? at., *Arthur P. Gregório* *+55 45 9958-0302* @gregorioarthur www.arthurgregorio.eti.br 2012/10/23 Arthur Gregório <[email protected]> > hi guys > > i have to check for my admin user in the initialization of my JSF 2 > application.. today I do it on my ServletContextListener, but now i using > GuiceServlet to manage the injector... > > my question is: How can i inject user service in my bootstrap (thats > extend GuiceServletContextListener)? > > thanks! > > -- > 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/-/Nbyp527cw1EJ. > 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.
