Define a bean of this class in your spring application context. This hook will integrate Spring to Yanwte.