org.apache.jetspeed.profiler.rules.impl
Class StandardProfilingRule

java.lang.Object
  extended by org.apache.jetspeed.profiler.rules.impl.AbstractProfilingRule
      extended by org.apache.jetspeed.profiler.rules.impl.StandardProfilingRule
All Implemented Interfaces:
java.io.Serializable, ProfilingRule

public class StandardProfilingRule
extends AbstractProfilingRule
implements ProfilingRule

StandardProfilingRule applies the standard Jetspeed-1 profiling rules. The result is an ordered list of Profile Locator name/value pairs.

Version:
$Id: StandardProfilingRule.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.jetspeed.profiler.rules.impl.AbstractProfilingRule
criteria, id, locators, ojbConcreteClass, resolvers, title
 
Fields inherited from interface org.apache.jetspeed.profiler.rules.ProfilingRule
CCPP_PROPERTY, REQUEST_ATTRIBUTE, REQUEST_PARAMETER, SESSION_ATTRIBUTE, STANDARD, STANDARD_COUNTRY, STANDARD_GROUP, STANDARD_GROUP_ROLE_USER, STANDARD_LANGUAGE, STANDARD_MEDIATYPE, STANDARD_PAGE, STANDARD_ROLE, STANDARD_ROLE_FALLBACK, STANDARD_USER, USER_ATTRIBUTE
 
Constructor Summary
StandardProfilingRule()
           
StandardProfilingRule(ProfileResolvers resolvers)
           
 
Method Summary
 ProfileLocator apply(RequestContext context, Profiler service)
          Applying the profiling rule generates a generic profile locator.
 
Methods inherited from class org.apache.jetspeed.profiler.rules.impl.AbstractProfilingRule
addLocatorToCache, getClassname, getDefaultResolver, getId, getLocatorFromCache, getResolver, getResolvers, getRuleCriteria, getTitle, setClassname, setId, setResolvers, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.profiler.rules.ProfilingRule
getClassname, getId, getResolver, getResolvers, getRuleCriteria, getTitle, setClassname, setId, setResolvers, setTitle
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

StandardProfilingRule

public StandardProfilingRule()

StandardProfilingRule

public StandardProfilingRule(ProfileResolvers resolvers)
Method Detail

apply

public ProfileLocator apply(RequestContext context,
                            Profiler service)
Description copied from interface: ProfilingRule
Applying the profiling rule generates a generic profile locator. With this locator we can then locate a profiling resource.

Specified by:
apply in interface ProfilingRule
Specified by:
apply in class AbstractProfilingRule
Returns:


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.