Add java based spring config