class JtaConfigurer implements InitializingBean, DisposableBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        configureTransactionManager();
        configureUserTransaction();
        Jta.configure(transactionManager, userTransaction);
    }

}