public static void loadAllTagClasses ( ) { final Map < String , Class < ? > > unloadedClasses = new HashMap <> ( ) ; for ( final Entry < String , Class < ? > > entry : tagClassByTagNameTmp . entrySet ( ) ) { try { Class . forName ( entry . getValue ( ) . getName ( ) ) ; } catch ( final ClassNotFoundException e ) { unloadedClasses . put ( entry . getKey ( ) , entry . getValue ( ) ) ; if ( LOGGER . isLoggable ( Level . WARNING ) ) { LOGGER . warning ( "Could not load tag class " + entry . getValue ( ) . getName ( ) ) ; } } } tagClassByTagNameTmp . clear ( ) ; if ( unloadedClasses . size ( ) > 0 ) { tagClassByTagNameTmp . putAll ( unloadedClasses ) ; } else { tagClassByTagNameTmp = null ; } }
Loads all tag classes .