Package org.jboss.arquillian.persistence.spi.datasource

Examples of org.jboss.arquillian.persistence.spi.datasource.DataSourceProvider


    * @return
    * @throws  IllegalStateException when more than one data source provider exists on the classpath
    */
   private DataSource loadDataSource(String dataSourceName)
   {
      final DataSourceProvider dataSourceProvider = serviceLoaderInstance.get()
            .onlyOne(DataSourceProvider.class, JndiDataSourceProvider.class);

      return dataSourceProvider.lookupDataSource(dataSourceName);
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.persistence.spi.datasource.DataSourceProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.