code: public XADataSource createXADataSource(Properties props) throws SQLException {
          if (props == null) props = new Properties();
          XADataSource dataSource = newXADataSource();
          setBeanProperties(dataSource, props);
          return dataSource;
      }
docs: Creates an XADataSource object.
  
  @param props The properties that define the XADataSource implementation to create and how the XADataSource is
  configured
  @return The configured XADataSource
  @throws SQLException If the data source cannot be created