public interface DatasourceArchive
While not the recommended method for deploying datasources, this archive
 type helps with the creation of WildFly-specific -ds.xml files
 within an archive.  It can be driver by exactly the same API for creating
 datasources through DatasourcesFraction configuration
DatasourcesFraction| Modifier and Type | Method and Description | 
|---|---|
DatasourceArchive | 
dataSource(DataSource ds)
Create a configured datasource 
 | 
DatasourceArchive | 
dataSource(String key,
          DataSourceConsumer consumer)
Create an configure a datasource. 
 | 
DatasourceArchive dataSource(String key, DataSourceConsumer consumer)
key - The key of the datasource.consumer - The configuring consumer.DatasourceArchive dataSource(DataSource ds)
ds - The completely configured datasource.Copyright © 2018 JBoss by Red Hat. All rights reserved.