public static < T > Class < T > loadClass ( String className , ResourceLoader resourceLoader ) { try { return cast ( resourceLoader . classForName ( className ) ) ; } catch ( ResourceLoadingException e ) { return null ; } catch ( SecurityException e ) { return null ; } }
Tries to load a class using the specified ResourceLoader . Returns null if the class is not found .