Package org.jboss.jca.common.metadata.ds.v12

Examples of org.jboss.jca.common.metadata.ds.v12.DsParser


        for (VirtualFile f : files) {
            InputStream xmlStream = null;
            try {
                xmlStream = new FileInputStream(f.getPhysicalFile());
                DsParser parser = new DsParser();
                parser.setSystemPropertiesResolved(resolveProperties);
                DataSources dataSources = parser.parse(xmlStream);
                if (dataSources != null) {
                    deploymentUnit.addToAttachmentList(DATA_SOURCES_ATTACHMENT_KEY, dataSources);
                }
            } catch (Exception e) {
                throw new DeploymentUnitProcessingException(e.getMessage(), e);
View Full Code Here


    * buildDataSourceImpl
    * @throws Exception exception
    */
   public void buildDataSourceImpl()  throws Exception
   {
      dsImpl = new DataSourceImpl(connectionUrl, driverClass, dataSourceClass, driver, transactionIsolation,
            connectionProperties, timeOut, security,
            statement, validation, urlDelimiter,
            urlSelectorStrategyClassName, newConnectionSql, useJavaContext, poolName,
            enabled, jndiName, spy, useCcm, jta, pool);
   }
View Full Code Here

    */
   public LegacyTxDataSourceImpl buildCommonPool(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize,
         Boolean prefill, Boolean useStrictMin,
         FlushStrategy flushStrategy) throws Exception
   {
      pool = new DsPoolImpl(minPoolSize, initialPoolSize, maxPoolSize, prefill,
         useStrictMin, flushStrategy, false, null, null);
      return this;
   }
View Full Code Here

         Boolean prefill, Boolean useStrictMin,
         FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving,
         Boolean padXid, Boolean wrapXaResource,
         Boolean noTxSeparatePool) throws Exception
   {
      xaPool = new DsXaPoolImpl(minPoolSize, initialPoolSize, maxPoolSize, prefill, useStrictMin, flushStrategy,
            isSameRmOverride, interleaving, padXid,
            wrapXaResource, noTxSeparatePool, false, null, null);

      return this;
   }
View Full Code Here

    * buildXaDataSourceImpl
    * @throws Exception exception
    */
   public void buildXaDataSourceImpl()  throws Exception
   {
      dsImpl = new XADataSourceImpl(transactionIsolation, timeOut, security,
            statement, validation, urlDelimiter, "", urlSelectorStrategyClassName,
            useJavaContext, poolName, enabled, jndiName, spy, useCcm,
            xaDataSourceProperty, xaDataSourceClass, driver, newConnectionSql,
            xaPool, recovery);
   }
View Full Code Here

TOP

Related Classes of org.jboss.jca.common.metadata.ds.v12.DsParser

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.