Re: Guice problem in persistence

2011-12-23 Thread Evgeny Bogdanov
nstiate it, assuming you are instanstiating it. If UserDb is a singleton then I would go with the static injection approach. Best regards, -Stanton From: Evgeny Bogdanov To: dev@shindig.apache.org, Date: 12/22/2011 08:42 Subject: Re: Guice problem in persistence On 22.12.11 13:5

Re: Guice problem in persistence

2011-12-22 Thread Stanton Sievers
gdanov To: dev@shindig.apache.org, Date: 12/22/2011 08:42 Subject: Re: Guice problem in persistence On 22.12.11 13:53, Stanton Sievers wrote: > Hi, > > How is your UserDb class being injected? Make sure it's not being > injected before the PropertiesModule, which by d

Re: Guice problem in persistence

2011-12-22 Thread Evgeny Bogdanov
e how you do it. -Stanton From: Evgeny Bogdanov To: dev@shindig.apache.org, Date: 12/22/2011 06:30 Subject: Guice problem in persistence Hi I have small problem, maybe somebody can point out where it is. I have this line in shindig.properties: shindig.signing.global-callback-url=http:/

Re: Guice problem in persistence

2011-12-22 Thread Stanton Sievers
t: Guice problem in persistence Hi I have small problem, maybe somebody can point out where it is. I have this line in shindig.properties: shindig.signing.global-callback-url=http://localhost:8080/gadgets/oauthcallback I want to access it from my db class. Properties file is read in Proper

Guice problem in persistence

2011-12-22 Thread Evgeny Bogdanov
Hi I have small problem, maybe somebody can point out where it is. I have this line in shindig.properties: shindig.signing.global-callback-url=http://localhost:8080/gadgets/oauthcallback I want to access it from my db class. Properties file is read in PropertiesModule.java and Guice's Named