Sample code that allows the use of spring-injected values in a JPA EntityListener.