Used java-based spring configuration