String factoryClassname = request.getInitParameter("searchConfigFactoryClass");
String factoryJarfile = request.getInitParameter("searchConfigFactoryJar");
if (factoryClassname == null) {
factoryClassname = DefaultSearchConfigFactory.class.getName();
}
SearchConfigFactory factory = (SearchConfigFactory)
RegainToolkit.createClassInstance(factoryClassname, SearchConfigFactory.class, factoryJarfile);
// Create the config
mConfig = factory.createSearchConfig(request);
}
}