5253545556575859
public Object newInstance(String key) throws NoFactoryAvailableException { try { return newInstance(key, null); } catch (Exception e) { throw new NoFactoryAvailableException(key, e); } }
134135136137138139140141142143144
private Properties doFindFactoryProperties(String key) throws IOException { String uri = path + key; InputStream in = classResolver.loadResourceAsStream(uri); if (in == null) { throw new NoFactoryAvailableException(uri); } // lets load the file BufferedInputStream reader = null; try {
6970717273747576777879
} finally { IOHelper.close(reader, key, null); IOHelper.close(in, key, null); } } else { throw new NoFactoryAvailableException(propertyPrefix + key); } } return clazz; }
130131132133134135136137138139140
6768697071727374757677
} finally { ObjectHelper.close(reader, key, null); ObjectHelper.close(in, key, null); } } else { throw new NoFactoryAvailableException(propertyPrefix + key); } } return clazz; }
5354555657585960
135136137138139140141142143144145