/** * Instantiates the given class name. Otherwise an exception is logged * and null is returned */ protected TagLibrary loadClass(String uri, String className) { try { Class theClass = getClassLoader().loadClass(className); if ( theClass != null ) { return newInstance(uri, theClass); } } catch (ClassNotFoundException e) { log.error("Could not find the class: " + className + " when trying to resolve URI: " + uri, e); } return null; }
/** * Instantiates the given class name. Otherwise an exception is logged * and null is returned */ protected TagLibrary loadClass(String uri, String className) { try { Class theClass = getClassLoader().loadClass(className); if ( theClass != null ) { return newInstance(uri, theClass); } } catch (ClassNotFoundException e) { log.error("Could not find the class: " + className + " when trying to resolve URI: " + uri, e); } return null; }
/** * Instantiates the given class name. Otherwise an exception is logged * and null is returned */ protected TagLibrary loadClass(String uri, String className) { try { Class theClass = getClassLoader().loadClass(className); if ( theClass != null ) { return newInstance(uri, theClass); } } catch (ClassNotFoundException e) { log.error("Could not find the class: " + className + " when trying to resolve URI: " + uri, e); } return null; }
/** * Instantiates the given class name. Otherwise an exception is logged * and null is returned */ protected TagLibrary loadClass(String uri, String className) { try { Class theClass = getClassLoader().loadClass(className); if ( theClass != null ) { return newInstance(uri, theClass); } } catch (ClassNotFoundException e) { log.error("Could not find the class: " + className + " when trying to resolve URI: " + uri, e); } return null; }