private void applyConnectionManagerConfiguration ( ConnectionManagerConfiguration cmc , org . ironjacamar . common . api . metadata . common . Timeout t ) { if ( t != null ) { if ( t . getAllocationRetry ( ) != null ) cmc . setAllocationRetry ( t . getAllocationRetry ( ) ) ; if ( t . getAllocationRetryWaitMillis ( ) != null ) cmc . setAllocationRetryWaitMillis ( t . getAllocationRetryWaitMillis ( ) ) ; if ( t . getXaResourceTimeout ( ) != null ) cmc . setXAResourceTimeout ( t . getXaResourceTimeout ( ) ) ; } }
Apply timeout to connection manager configuration