@Test public void testAfterPropertiesSet_NoJta() throws Exception { ConfigContext.init(new SimpleConfig()); new JtaConfigurer().afterPropertiesSet(); assertTrue(Jta.isFrozen()); assertFalse(Jta.isEnabled()); assertNull(Jta.getTransactionManager()); assertNull(Jta.getUserTransaction()); }
@Override public void afterPropertiesSet() throws Exception { configureTransactionManager(); configureUserTransaction(); Jta.configure(transactionManager, userTransaction); }
JtaConfigurer implements InitializingBean, DisposableBean { @Override public void afterPropertiesSet() throws Exception { configureTransactionManager(); configureUserTransaction(); Jta.configure(transactionManager, userTransaction); } }
JtaConfigurer implements InitializingBean, DisposableBean { @Override public void afterPropertiesSet() throws Exception { configureTransactionManager(); configureUserTransaction(); Jta.configure(transactionManager, userTransaction); }  }
JtaConfigurer implements InitializingBean, DisposableBean { @Override public void afterPropertiesSet() throws Exception { configureTransactionManager(); configureUserTransaction(); Jta.configure(transactionManager, userTransaction); }  @Override void afterPropertiesSet(); void setTransactionManager(TransactionManager transactionManager); void setUserTransaction(UserTransaction userTransaction); void setJndiTemplate(JndiTemplate jndiTemplate); @Override void destroy(); }
JtaConfigurer implements InitializingBean, DisposableBean { @Override public void afterPropertiesSet() throws Exception { configureTransactionManager(); configureUserTransaction(); Jta.configure(transactionManager, userTransaction); }  @Override void afterPropertiesSet(); void setTransactionManager(TransactionManager transactionManager); void setUserTransaction(UserTransaction userTransaction); void setJndiTemplate(JndiTemplate jndiTemplate); @Override void destroy();  }