* @param factory the name of the factory <code>Class</code>
*/
public void setFactory(String factory) {
try {
Class clazz = ClassUtils.forName(factory);
GeneratorFactory genFac = null;
try {
Constructor ctor =
clazz.getConstructor(new Class[] { getClass() });
genFac = (GeneratorFactory)
ctor.newInstance(new Object[] { this });