Loads a class using the class loader.
1. The class loader of the current class is being used.
2. The thread context class loader is being used.
If both approaches fail, returns null.
Parameters:
className - The name of the class to load.
Returns:
The class or null if no class loader could load the class.
Loads a class using the class loader.
1. The class loader of the context class is being used.
2. The thread context class loader is being used.
If both approaches fail, returns null.
Parameters:
contextClass - The name of a context class to use.
className - The name of the class to load
Returns:
The class or null if no class loader could load the class.