Warp-persist has it's own configure() -- might want to double-check you're 
binding what you think you are ash you shouldn't have the problem you 
described.

My ServicesModule do this sort of thing all the time with no injection 
problems:

public class ServicesModule extends AbstractModule {
private static final String HIBERNATE_CONFIG = "/hibernate.properties";
 @Override
protected void configure() {
                // wad of other stuffage
bind(Logger.class).toInstance(LoggerFactory.getLogger("StdOut"));
         }
}


-- 
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.

Reply via email to