Play games with spring autowiring to get this working in a standalone tomcat container