Skip to content
Snippets Groups Projects
Commit d31991b3 authored by brinn's avatar brinn
Browse files

Use outermost proxy class to determine service method name.

SVN: 27476
parent cf30b717
No related branches found
No related tags found
No related merge requests found
......@@ -199,14 +199,15 @@ class MonitoringPoolingDataSource extends PoolingDataSource
static String tryGetServiceMethodName(StackTraceElement[] stackTrace)
{
String methodName = null;
for (StackTraceElement e : stackTrace)
{
if (e.getClassName().contains("$Proxy"))
{
return e.getMethodName();
methodName = e.getMethodName();
}
}
return null;
return methodName;
}
static String traceToString(StackTraceElement[] trace)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment