while (clazz != null && (!clazz.equals(Object.class)))
{
clazzes.addAll(Arrays.asList(clazz.getInterfaces()));
clazz = clazz.getSuperclass();
}
args[i] = Proxy.newProxyInstance(cl, (Class[])clazzes.toArray(new Class[clazzes.size()]), new ServerCallbackProxy(_factory, message, (ClientCallback) args[i]));
}
}
}
ServiceSessionProvider.set(message.getSession());
result = method.invoke(_service, args);