}
private ITransportFactory getClientTransportFactory(String factoryClassName)
{
try {
ITransportFactory factory = (ITransportFactory) Class.forName(factoryClassName).newInstance();
Map<String, String> options = getOptions(factory.supportedOptions());
factory.setOptions(options);
return factory;
}
catch (Exception e) {
throw new RuntimeException("Failed to instantiate transport factory:" + factoryClassName, e);
}