Spring configuration with JavaConfig