Re: questions regarding configuring Guice

2011-02-25 Thread Filipe Sousa
That's the source code for GuiceServletContextListener: public abstract class GuiceServletContextListener implements ServletContextListener { static final String INJECTOR_NAME = Injector.class.getName(); public void contextInitialized(ServletContextEvent servletContextEvent) { final

Re: Guice 3.0 rc3 now available

2011-03-07 Thread Filipe Sousa
Thank you. -- You received this message because you are subscribed to the Google Groups google-guice group. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe from this group, send email to google-guice+unsubscr...@googlegroups.com. For more options, visit this

Re: Is this possible? @Inject private static final Logger log;

2011-05-10 Thread Filipe Sousa
I have been using this template private static final ${loggerType:newType(org.slf4j.Logger)} ${loggerName:newName(org.slf4j.Logger)} = ${loggerFactoryType:newType(org.slf4j.LoggerFactory)}.getLogger(${enclosing_type}.class); and this if (${loggerName:newName(org.slf4j.Logger)}.isInfoEnabled())

Re: Is it okay to use more than one ServletModule?

2011-09-30 Thread Filipe Sousa
Thank you. -- 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/-/WLD6EhwpVnsJ. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe

Re: Inject ServletContext in Abstract Module

2011-10-21 Thread Filipe Sousa
I think you need to call super.contextInitialized(servletContextEvent) otherwise getInjector() won't be called -- You received this message because you are subscribed to the Google Groups google-guice group. To view this discussion on the web visit

Re: Guice and Resteasy

2013-06-05 Thread Filipe Sousa
Hi, Do I have to declare my modules in web.xml? On Wednesday, June 5, 2013 10:49:04 AM UTC+1, Moandji Ezana wrote: Resteasy 3.0 (JBoss's JAX-RS implementation) is coming out soon. I just wanted to let people know that I and a few others have been giving its Guice integration some

Re: Guice and Resteasy

2013-06-05 Thread Filipe Sousa
Hi, I can't find withInjector on github. I could override getModules() but not getStage(). But even so, I still have do add jersey specific things to web.xml. With jersey-guice is as simple as serve(/rest/*).with(GuiceContainer.class); Thanks. On Wednesday, June 5, 2013 6:26:38 PM UTC+1,

Re: Guice and Resteasy

2013-06-05 Thread Filipe Sousa
The only thing needed is the GuiceFilter and a listener. Take a look at this random project in github https://github.com/robinboehm/guice-jersey I have been looking in the last few days for a REST framework that integrates with guice. So far jersey is the easiest. I have only a few issues with

Re: Guice and Resteasy

2013-06-06 Thread Filipe Sousa
web framework config in web.xml, but it's OK to have DI config in there? Mwanji On Jun 6, 2013 11:33 AM, Filipe Sousa nat...@gmail.com javascript: wrote: Hi Someone in another project is using restlet 3.0 with guice without restlet specifics in web.xml: https://github.com/QBRC

Re: 4.0 beta 2 in Maven?

2014-01-15 Thread Filipe Sousa
+1 On Friday, January 10, 2014 8:28:08 PM UTC, Michael Burton wrote: Looks like 4.0 beta 2 is now out. Can we get that uploaded to maven? Cheers, Mike Burton Android Engineering Manager, Groupon http://about.me/michaelburton -- You received this message because you are subscribed to

Re: What is the best way to manage security with guice?

2014-05-08 Thread Filipe Sousa
Try apache shiro (http://shiro.apache.org/) that has guice support (https://shiro.apache.org/guice.html) On 08 May 2014, at 16:43, Damian Ramirez drami...@grubhub.com wrote: I need to know what is the best way to manage security with guice like as sprint security o something like that,

Re: The never-ending beta of Guice 4

2015-04-28 Thread Filipe Sousa
 On Tuesday, April 28, 2015 at 11:29:03 PM UTC+1, Colin Decker wrote: Hey all, you'll be happy to know that Guice 4.0 is at long last released! https://github.com/google/guice/wiki/Guice40 Full changelog and a more official announcement of it will be coming, but I wanted to send a quick

Re: Guice's next version will target jdk8

2016-09-21 Thread Filipe Sousa
 > On 21/09/2016, at 17:04, Sam Berlin wrote: > > The next version of Guice also will not include the "noaop" variant. > > If you're using Guice on Android, migrate to Dagger2 instead. Dagger2 is a > better alternative on Android than Guice. > > sam > > > -- > You

Re: current status of Guice

2017-11-23 Thread Filipe Sousa
+1 On Wednesday, November 22, 2017 at 2:10:47 PM UTC, Ron wrote: > > Hi All > > It seems the activities around Guice, both in terms of the discussions > here and the commits in the Github repo seems to have slowed right down. > > What is the current status, are people moving away? > > I