Is there a good pattern to *replace* dependencies with new bindings?

During our init, I have the need to replace a standard output logger, with 
a log4j logger... 

It only needs to happen once.

I was thinking of having some sort of ReplaceableProvider that has a set() 
method and uses an AtomicReference... 

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/c8bdabad-9e5a-44f4-a0e4-a7ca3f65a9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to