setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getQueryTimeout()); } else if (attributeName.equals(Constants.USE_TRY_LOCK.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getUseTryLock()); } else if (attributeName.equals(Constants.SET_TX_QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return;
if (timeOut.getUseTryLock() != null) { managedConnectionFactory.setUseTryLock(timeOut.getUseTryLock().intValue()); if (timeOut.getQueryTimeout() != null) { managedConnectionFactory.setQueryTimeout(timeOut.getQueryTimeout().intValue()); if (timeOut.isSetTxQueryTimeout()) { managedConnectionFactory.setTransactionQueryTimeout(true);
.isSetTxQueryTimeout())); if (ds != null && ds.getTimeOut() != null && ds.getTimeOut().getQueryTimeout() != null) .getQueryTimeout())); if (ds != null && ds.getTimeOut() != null && ds.getTimeOut().getUseTryLock() != null) .getUseTryLock()));
setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.XA_RESOURCE_TIMEOUT.getName())) { if(dataSource.getTimeOut() == null) { return; setIntIfNotNull(context, dataSource.getTimeOut().getXaResourceTimeout()); } else if (attributeName.equals(Constants.RECOVERY_USERNAME.getName())) { if(dataSource.getRecovery() == null) { setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return;
if (timeOut.getUseTryLock() != null) { managedConnectionFactory.setUseTryLock(timeOut.getUseTryLock().intValue()); if (timeOut.getQueryTimeout() != null) { managedConnectionFactory.setQueryTimeout(timeOut.getQueryTimeout().intValue()); if (timeOut.isSetTxQueryTimeout()) { managedConnectionFactory.setTransactionQueryTimeout(true);
setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getQueryTimeout()); } else if (attributeName.equals(Constants.USE_TRY_LOCK.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getUseTryLock()); } else if (attributeName.equals(Constants.SET_TX_QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return;
if (timeOut.getUseTryLock() != null) { managedConnectionFactory.setUseTryLock(timeOut.getUseTryLock().intValue()); if (timeOut.getQueryTimeout() != null) { managedConnectionFactory.setQueryTimeout(timeOut.getQueryTimeout().intValue()); if (timeOut.isSetTxQueryTimeout()) { managedConnectionFactory.setTransactionQueryTimeout(true);
setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getQueryTimeout()); } else if (attributeName.equals(Constants.USE_TRY_LOCK.getName())) { if (dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getUseTryLock()); } else if (attributeName.equals(Constants.SET_TX_QUERY_TIMEOUT.getName())) { if (dataSource.getTimeOut() == null) { return;
setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.XA_RESOURCE_TIMEOUT.getName())) { if(dataSource.getTimeOut() == null) { return; setIntIfNotNull(context, dataSource.getTimeOut().getXaResourceTimeout()); } else if (attributeName.equals(Constants.RECOVERY_USERNAME.getName())) { if(dataSource.getRecovery() == null) { setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return;
setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getAllocationRetryWaitMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.BLOCKING_TIMEOUT_WAIT_MILLIS.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getBlockingTimeoutMillis()); } else if (attributeName.equals(org.jboss.as.connector.subsystems.common.pool.Constants.IDLETIMEOUTMINUTES.getName())) { if(dataSource.getTimeOut() == null) { return; setLongIfNotNull(context, dataSource.getTimeOut().getIdleTimeoutMinutes()); } else if (attributeName.equals(Constants.XA_RESOURCE_TIMEOUT.getName())) { if(dataSource.getTimeOut() == null) { return; setIntIfNotNull(context, dataSource.getTimeOut().getXaResourceTimeout()); } else if (attributeName.equals(Constants.RECOVERY_USERNAME.getName())) { if(dataSource.getRecovery() == null) { setIntIfNotNull(context, dataSource.getTimeOut().getAllocationRetry()); } else if (attributeName.equals(Constants.ALLOCATION_RETRY_WAIT_MILLIS.getName())) { if (dataSource.getTimeOut() == null) { return;