javaMethod.getDeclaringClass().getName(),
instance.getClass().getName(),
Integer.toHexString(System.identityHashCode(instance)),
Arrays.toString(parameters)});
}
ResourceInvocationData resInvocationData =
context.getAttribute(ResourceInvocationData.class);
if (resInvocationData != null) {
resInvocationData.addInvocation(context);
}
Object result = javaMethod.invoke(instance, parameters);
context.setResponseEntity(result);
} catch (InvocationTargetException ite) {
try {