Hi Can someone explain to me the point of the method "public <T> T newInstance(String cname, Class<T> expectedType)" in interface org.apache.solr.common.ResourceLoader (or org.apache.lucene.analysis.util.ResourceLoader)?
If I want to implement a ResourceLoader, what is the purpose of me implementing a "newInstance" method? The other method in the interface (openResource), makes sense to me, but I'm not sure about "newInstance". Thanks, Peter