ringHandler = (NginxJavaRingHandler) groovyLoader.loadClass(name).newInstance();
}else {
Method m = groovyLoader.getClass().getMethod("parseClass", String.class);
ringHandler = (NginxJavaRingHandler) ((Class)m.invoke(groovyLoader, code)).newInstance();
}
return new NginxJavaHandler(ringHandler);
}catch(Throwable e) {
NginxClojureRT.UNSAFE.throwException(e);
return null; //never reach
}