Creates pooled and optionally XA ready DataSources out of a non pooled DataSourceFactory.
XA transaction handling Besides pooling this also supports to provide a DataSource that wraps a
XADataSource and handles the XA Resources. This kind of DataSource can then for example be used
in persistence.xml as jta-data-source
Initialize XA PoolingDataSourceFactory
non pooled DataSourceFactory we delegate to
transaction manager (Only needed for XA mode)