public XADataSource createXADataSource ( Properties props ) throws SQLException { if ( props == null ) props = new Properties ( ) ; XADataSource dataSource = newXADataSource ( ) ; setBeanProperties ( dataSource , props ) ; return dataSource ; }
Creates an XADataSource object .