Hi there, i want guice to inject some constant values into some of my interfaces. Is that possible? Are there any better ways of defining and using a global value?
In my case i defined a Group interface which holds the constant ROOT. All Groups should be below this root group. The constructor for the Group implementation already waits for a (parent) Group and has a private field for his parent. Should i inject there? Can i configure guice somehow so that i injects the root group if i don't supply the parent myself and otherwise use my supplied parent? Greets! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
