On Tuesday, April 1, 2014 10:09:17 AM UTC+2, scl wrote: > > You could use setter injection and have the properties injected into the > bean. > > Thanks for your reply, but that's not what I need. A typical example would > be a Pojo, that initializes the logging system. By default, that Pojo would > read log4j.properties, or a similar resource, for configuration. However, > on occasion, I'd like to change the URI. In other words, provide a string > value for that URI externally. Currently I am doing that via a Property, > but that seems to be a bit inflexible. >
Thanks, Jochen -- 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. For more options, visit https://groups.google.com/d/optout.
