protected String lookupServerURL ( DataBinder binder ) { _logger . info ( "STANDARD lookupServerURL: servers=" + _servers + ", selector='" + _selector + ' ' ) ; if ( _servers != null ) { if ( _selector != null ) { return _servers . get ( binder . get ( _selector ) ) ; } else if ( _servers . size ( ) == 1 ) { return _servers . values ( ) . iterator ( ) . next ( ) ; } else { return null ; } } else { return null ; } }
Looks up server URL based on request parameters in the data binder .