code: @Override
  	public Object create(Object locator) throws CreateException {
  		for (Registration registration : _registrations) {
  			if (registration.getLocator().equals(locator)) {
  				try {
  					return registration.getFactory().create(locator);
  				} catch (Exception ex) {
  					if (ex instanceof CreateException)
  						throw (CreateException) ex;
  
  					throw (CreateException) new CreateException(null, "Failed to create object for " + locator)
  							.withCause(ex);
  				}
  			}
  		}
  		return null;
  	}
docs: Creates a component identified by given locator.
  
  @param locator a locator to identify component to be created.
  @return the created component.
  
  @throws CreateException if the factory is not able to create the component.