public void setTimeout ( int milliseconds ) { if ( ctx != null ) { QueryDao dao = ( QueryDao ) ctx . getBean ( "queryDao" ) ; if ( dao != null ) { dao . setTimeout ( milliseconds ) ; } } }
Set the timeout in milliseconds