try ProfilingRule tempStandardRule = pm.createProfilingRule(true); standardRuleClass = tempStandardRule.getClass();
rule = profiler.createProfilingRule(true); else rule = profiler.createProfilingRule(false); rule.setId(jsp.getId());
ProfilingRule rule = profiler.getRule(dtoProfile.getId()); if (rule == null) { rule = profiler.createProfilingRule(dtoProfile.getConcreteClass().indexOf("StandardProfilingRule") > -1); rule.setId(dtoProfile.getId()); isAdd = true;