org.springframework.boot.jta.atomikos

Class AtomikosXADataSourceWrapper

  • java.lang.Object
    • org.springframework.boot.jta.atomikos.AtomikosXADataSourceWrapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      AtomikosDataSourceBean wrapDataSource(javax.sql.XADataSource dataSource)
      Wrap the specific XADataSource and enroll it with a JTA TransactionManager.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AtomikosXADataSourceWrapper

        public AtomikosXADataSourceWrapper()
    • Method Detail

      • wrapDataSource

        public AtomikosDataSourceBean wrapDataSource(javax.sql.XADataSource dataSource)
                                              throws java.lang.Exception
        Description copied from interface: XADataSourceWrapper
        Wrap the specific XADataSource and enroll it with a JTA TransactionManager.
        Specified by:
        wrapDataSource in interface XADataSourceWrapper
        Parameters:
        dataSource - the data source to wrap
        Returns:
        the wrapped data source
        Throws:
        java.lang.Exception - if the data source cannot be wrapped