- protected Class loadClass(String type) {
- Class clss;
-// try {
-// return Class.forName(type);
-// } catch (ClassNotFoundException e) {
-// if (log.isDebugEnabled())
-// log.debug("Class.forName failed: " + e);
-// }
-//
-// try {
-// return Thread.currentThread().getContextClassLoader().loadClass(
-// type);
-// } catch (ClassNotFoundException e) {
-// if (log.isDebugEnabled())
-// log
-// .debug("Thread.currentThread().getContextClassLoader().loadClass failed: "
-// + e);
-// }
-//
-// try {
-// return getClass().getClassLoader().loadClass(type);
-// } catch (ClassNotFoundException e) {
-// if (log.isDebugEnabled())
-// log.debug("getClass().getClassLoader().loadClass failed: " + e);
-// }
-//