code: public synchronized void registerComponent(Class<?> _clazz, String _version) {
          componentVersions.put(_clazz.getName(), _version);
      }
docs: Register a class with version.
  
  @param _clazz class
  @param _version version