Class<? extends QueueCreator> queueCreatorClass = (Class<? extends QueueCreator>) Class.forName(queueCreatorClassName);
_queueCreator = queueCreatorClass.newInstance();
}
catch (ClassNotFoundException e)
{
throw new DistributedTestException("Unable to instantiate queue creator using class name " + queueCreatorClassName, e);
}
catch (InstantiationException e)
{
throw new DistributedTestException("Unable to instantiate queue creator using class name " + queueCreatorClassName, e);
}
catch (IllegalAccessException e)
{
throw new DistributedTestException("Unable to instantiate queue creator using class name " + queueCreatorClassName, e);
}
}