if (operationInfo instanceof DynamicGOperationInfo) {
methodInvoker = new MethodInvoker() {
private String[] types = (String[]) parameterTypes.toArray(new String[parameterTypes.size()]);
public Object invoke(Object target, Object[] arguments) throws Exception {
DynamicGBean dynamicGBean = (DynamicGBean) target;
dynamicGBean.invoke(name, arguments, types);
return null;
}
};
} else {
try {