throw new ServiceException(
"Class " + className
+ " does not implement ServerConnector");
}
try {
SchemeType scheme = connector.getScheme();
Constructor ctor = clazz.getConstructor(new Class[]{
SchemeType.class, Configuration.class,
Authenticator.class, ServerConnectionFactory.class,
AdminConnectionManager.class, NameService.class,
ThreadPoolFactory.class});