taylor 2004/10/08 22:23:43 Modified: jetspeed-api/src/java/org/apache/jetspeed/profiler Profiler.java Log: new profiler api: getProfilerLocators for a given principal Revision Changes Path 1.9 +14 -2 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/Profiler.java Index: Profiler.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/Profiler.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Profiler.java 8 Oct 2004 21:46:06 -0000 1.8 +++ Profiler.java 9 Oct 2004 05:23:43 -0000 1.9 @@ -17,6 +17,7 @@ import java.security.Principal; import java.util.Collection; +import java.util.Map; import org.apache.jetspeed.profiler.rules.ProfilingRule; import org.apache.jetspeed.request.RequestContext; @@ -129,5 +130,16 @@ * @return array of String locator names */ String[] getLocatorNamesForPrincipal(Principal principal); - + + /** + * Gets all supported locators for a principal. + * + * @param context + * @param principal + * @return + * @throws ProfilerException + */ + public Map getProfileLocators(RequestContext context, Principal principal) + throws ProfilerException; + }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]