I like the idea of encapsulating this information in its own class, but I'm really not a big fan of bean classes.

Could we perhaps move the functionality to load the environment and load the driver into this class?