Add datasource definition to java config class.