add SpringContext to javaFX app