@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=javax.transaction.Transaction.class)
@ConditionalOnProperty(prefix="spring.jta",
value="enabled",
matchIfMissing=true)
@AutoConfigureBefore(value={XADataSourceAutoConfiguration.class,ActiveMQAutoConfiguration.class,ArtemisAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@Import(value={org.springframework.boot.autoconfigure.transaction.jta.JndiJtaConfiguration.class,org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration.class,org.springframework.boot.autoconfigure.transaction.jta.AtomikosJtaConfiguration.class})
public class JtaAutoConfiguration
extends Object
- Since:
- 1.2.0
- Author:
- Josh Long, Phillip Webb, Nishant Raut