throws ReflectiveOperationException {
if (clientManagerFactoryClass != null) {
ClientManagerFactory factory = clientManagerFactoryClass.getConstructor().newInstance();
return factory.newInstance(connectionFactoryClass);
} else {
return new DefaultClientManager(connectionFactoryClass);
}
}