public synchronized void registerComponent ( Class < ? > _clazz ) { if ( _clazz == null ) { return ; } if ( isIncluded ( _clazz . getName ( ) ) || _clazz . getName ( ) . equals ( this . getClass ( ) . getName ( ) ) ) { String classVersion = getVersionWithReflection ( _clazz ) ; if ( classVersion != null ) { componentVersions . put ( _clazz . getName ( ) , classVersion ) ; } } }
Register a class using the Class - Object .