code: public Object remove(Object locator) {
  		if (locator == null)
  			return null;
  
  		synchronized (_lock) {
  			for (int index = _references.size() - 1; index >= 0; index--) {
  				Reference reference = _references.get(index);
  				if (reference.match(locator)) {
  					_references.remove(index);
  					return reference.getComponent();
  				}
  			}
  		}
  
  		return null;
  	}
docs: Removes a previously added reference that matches specified locator. If many
  references match the locator, it removes only the first one. When all
  references shall be removed, use removeAll() method instead.
  
  @param locator a locator to remove reference
  @return the removed component reference.
  
  @see #removeAll(Object)