/**
  * Sets the object configuration for a specific object.
  *
  * @param \F3\FLOW3\Object\Configuration\Configuration $newObjectConfiguration The new object configuration
  * @return void
  * @author Robert Lemke <*****@*****.**>
  */
 public function setObjectConfiguration(\F3\FLOW3\Object\Configuration\Configuration $newObjectConfiguration)
 {
     $objectName = $newObjectConfiguration->getObjectName();
     if (isset($this->objectConfigurations[$objectName])) {
         $oldClassName = $this->objectConfigurations[$objectName]->getClassName();
         unset($this->registeredClasses[$oldClassName]);
     }
     $this->registeredClasses[$newObjectConfiguration->getClassName()] = $objectName;
     $this->objectConfigurations[$objectName] = clone $newObjectConfiguration;
     $this->registeredObjects[$objectName] = strtolower($objectName);
 }