NessComputing/components-ness-config — pull request #4 by stevenschlansker (2012-04-05 21:37:27+00:00)
Title: Config bean singleton

Since Config is immutable, bind all beans as singletons to ensure that they are not generated more than once.

While this provides a slight benefit to efficiency in that it moves all the work upfront to Injector creation, the real win here is that it's impossible to coax config-magic to log the entire contents of the bean at every injection point for the lifetime of the service.