this.propertyMappers = propertyMappers;
this.factory = instrumentor.getProxyClass(objectClass);
}
public Object invoke(ObjectContext ctx, Method method, Object[] args) throws Throwable {
MethodInvoker invoker = dispatchers.get(method);
if (invoker != null) {
return invoker.invoke(ctx, method, args);
} else {
StringBuilder msg = new StringBuilder("Cannot invoke method ").append(method.getName()).append("(");
Class[] parameterTypes = method.getParameterTypes();
for (int i = 0;i < parameterTypes.length;i++) {
if (i > 0) {