|
I am using Google Guice for dependency injection and I require a singleton Here is the code to return the queue.
But obviously it is not returning me a singleton due to some odd reason (My Guess is because I am binding it to new TypeLiteral). Any idea on how to fix it or is there any better way to do it? |