spring bean configuration methods