Use the PropertySource interface to configure the various configuration holders rather than forcing using global properties (DataSourceConfig) or a private class. This allows descendant ServerConfig classes to easily configure the server in other ways.