code: public ComponentAdapter registerComponent(ComponentAdapter componentAdapter) throws DuplicateComponentKeyRegistrationException {
  		Object componentKey = componentAdapter.getComponentKey();
  		if (compKeyAdapters.containsKey(componentKey)) {
  			throw new DuplicateComponentKeyRegistrationException(componentKey);
  		}
  		compAdapters.add(componentAdapter);
  		compKeyAdapters.put(componentKey, componentAdapter);
  		return componentAdapter;
  	}
docs: {@inheritDoc} This method can be used to override the ComponentAdapter
  created by the {@link ComponentAdapterFactory} passed to the constructor
  of this container.