Java-based Spring configuration