taylor 01/05/07 08:44:39 Modified: proposals 0005.txt Log: updated profiler proposal/spec for new naming conventions Revision Changes Path 1.4 +16 -16 jakarta-jetspeed/proposals/0005.txt Index: 0005.txt =================================================================== RCS file: /home/cvs/jakarta-jetspeed/proposals/0005.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 0005.txt 2001/04/25 00:04:25 1.3 +++ 0005.txt 2001/05/07 15:44:33 1.4 @@ -1,5 +1,5 @@ Jetspeed Proposal: Profiler Service -LAST MODIFIED: $Date: 2001/04/25 00:04:25 $ +LAST MODIFIED: $Date: 2001/05/07 15:44:33 $ AUTHOR: [EMAIL PROTECTED] (David S. Taylor) STATUS: approved, work in progress for 1.3a2 release @@ -148,7 +148,7 @@ Specifying a resource in a resource path by language-code or country-code is currently not supported. To turn on/off all localization checking: -services.ProfileManager.language=true +services.Profiler.language=true For a complete list of ISO-639 standard language abbreviations, see: http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt @@ -239,21 +239,21 @@ Jetspeed Resources Configuration ----------------------------------- -# The Profile Manager Service is implemented as a Turbine service. -services.ProfileManager.classname=org.apache.jetspeed.services.profiler.JetspeedProfileManagerService +# The Profile Service is implemented as a Turbine service. +services.Profiler.classname=org.apache.jetspeed.services.profiler.JetspeedProfilerService # The webapp relative path to the root profiling directory -services.ProfileManager.root=/WEB-INF/psml +services.Profiler.root=/WEB-INF/psml # The default resource filename -services.ProfileManager.resource.default=default +services.Profiler.resource.default=default # The default resource filename extension -services.ProfileManager.resource.ext=.psml +services.Profiler.resource.ext=.psml # Use security? # if you aren't securing your psml files, turn this off -services.ProfileManager.security=false +services.Profiler.security=false # Use language? # turn off language profiling if you have a one-language site @@ -263,11 +263,11 @@ # the name cache speeds up profiling, but if you want to # add psml resources without taking the server down, the # cache currently doesn't support it -services.ProfileManager.namecache=false +services.Profiler.namecache=false # Enable? # If your psml is from version 1.3a1 or before, set to false -services.ProfileManager.enable=true +services.Profiler.enable=true ---------------- Directory Layout @@ -433,11 +433,11 @@ Modifications to the Code ------------------------- -The JetspeedProfileManagerService will be implemented in the org.apache.jetspeed.services.profiler package. +The JetspeedProfilerService will be implemented in the org.apache.jetspeed.services.profiler package. -The ProfileManagerService interface will be placed in the org.apache.jetspeed.services.profiler package. +The ProfilerService interface will be placed in the org.apache.jetspeed.services.profiler package. -The ProfileManager commodity accessor classw will be placed in the org.apache.jetspeed.services.profiler package. +The Profiler static accessor class will be placed in the org.apache.jetspeed.services package. The JetspeedProfile class will be implemented and placed in the org.apache.jetspeed.om.profiler package @@ -465,18 +465,18 @@ The Profile interface defines a profile instance. A Profile is the object representation of a Jetspeed PSML resource. -public interface ProfileManagerService extends Service +public interface ProfilerService extends Service { /** The name of this service */ - public String SERVICE_NAME = "ProfileManager"; + public String SERVICE_NAME = "Profiler"; /** * get the Profile object using the Rundata state and capability map * this is the mapping functionality of the profiler * * @param rundata the rundata object for the current request - * @return a Profile object if found by the manager or null + * @return a Profile object if found by the service or null */ public Profile getProfile(RunData rundata, CapabilityMap cm) throws ProfileException; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
