private static BrokerFactory invokeFactory(ConfigurationProvider conf,
ClassLoader loader, String methodName, Class<?>[] argTypes, Object[] args)
throws InvocationTargetException, NoSuchMethodException,
IllegalAccessException {
if (conf == null)
conf = new MapConfigurationProvider();
ProductDerivations.beforeConfigurationConstruct(conf);
Class cls = getFactoryClass(conf, loader);
Method meth;
try {