code: public final String getSetting (final String targetName, final int connectionID, final OperationalTextKey textKey) throws OperationalTextKeyException {
  
          try {
              final SessionConfiguration sc;
              synchronized (sessionConfigs) {
                  sc = sessionConfigs.get(targetName);
  
                  synchronized (sc) {
                      if (sc != null) {
                          String value = sc.getSetting(connectionID, textKey);
                          if (value != null) { return value; }
                      }
                  }
              }
          } catch (OperationalTextKeyException e) {
              // we had not find a session/connection entry, so we have to search
              // in the
              // global settings
          }
  
          final SettingEntry se;
          synchronized (globalConfig) {
              se = globalConfig.get(textKey);
  
              synchronized (se) {
                  if (se != null) { return se.getValue(); }
              }
          }
  
          throw new OperationalTextKeyException("No OperationalTextKey entry found for key: " + textKey.value());
      }
docs: Returns the value of a single parameter, instead of all values.
  
  @param targetName Name of the iSCSI Target to connect.
  @param connectionID The ID of the connection to retrieve.
  @param textKey The name of the parameter.
  @return The value of the given parameter.
  @throws OperationalTextKeyException If the given parameter cannot be found.