taylor 2004/10/08 22:23:56 Modified: components/profiler/src/java/org/apache/jetspeed/profiler/impl JetspeedProfiler.java Log: new profiler api: getProfilerLocators for a given principal Revision Changes Path 1.7 +14 -1 jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfiler.java Index: JetspeedProfiler.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/components/profiler/src/java/org/apache/jetspeed/profiler/impl/JetspeedProfiler.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- JetspeedProfiler.java 8 Oct 2004 21:45:53 -0000 1.6 +++ JetspeedProfiler.java 9 Oct 2004 05:23:56 -0000 1.7 @@ -377,4 +377,17 @@ return names; } + public Map getProfileLocators(RequestContext context, Principal principal) + throws ProfilerException + { + Map locators = new HashMap(); + String locatorNames[] = getLocatorNamesForPrincipal(principal); + + for (int ix = 0; (ix < locatorNames.length); ix++) + { + locators.put(locatorNames[ix], getProfile(context, locatorNames[ix])); + } + return locators; + } + }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]