org.apache.jetspeed.profiler.impl
Class ProfilerValveImpl

java.lang.Object
  extended byorg.apache.jetspeed.pipeline.valve.AbstractValve
      extended byorg.apache.jetspeed.profiler.impl.ProfilerValveImpl
All Implemented Interfaces:
PageProfilerValve, Valve

public class ProfilerValveImpl
extends AbstractValve
implements PageProfilerValve

ProfilerValveImpl

Version:
$Id: ProfilerValveImpl.java 216120 2005-07-13 06:40:27Z rwatler $
Author:
David Sean Taylor

Field Summary
protected  org.apache.commons.logging.Log log
           
private  org.apache.jetspeed.page.PageManager pageManager
          pageManager - page manager component
static String PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY
          PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - request portal site context attribute key
static String PORTAL_SITE_SESSION_CONTEXT_ATTR_KEY
          PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - session portal site context attribute key
private  org.apache.jetspeed.portalsite.PortalSite portalSite
          portalSite - portal site component
static String PROFILED_PAGE_CONTEXT_ATTR_KEY
          PROFILED_PAGE_CONTEXT_ATTR_KEY - legacy request portal site context attribute key
private  org.apache.jetspeed.profiler.Profiler profiler
          profiler - profiler component
 
Fields inherited from interface org.apache.jetspeed.pipeline.valve.PageProfilerValve
PROFILE_LOCATOR_REQUEST_ATTR_KEY, PROFILE_LOCATORS_PER_PRINCIPAL
 
Constructor Summary
ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler, org.apache.jetspeed.portalsite.PortalSite portalSite, org.apache.jetspeed.page.PageManager pageManager)
          ProfilerValveImpl - constructor
 
Method Summary
 void invoke(org.apache.jetspeed.request.RequestContext request, ValveContext context)
           
 String toString()
           
 
Methods inherited from class org.apache.jetspeed.pipeline.valve.AbstractValve
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve
initialize
 

Field Detail

log

protected org.apache.commons.logging.Log log

PORTAL_SITE_SESSION_CONTEXT_ATTR_KEY

public static final String PORTAL_SITE_SESSION_CONTEXT_ATTR_KEY
PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - session portal site context attribute key

See Also:
Constant Field Values

PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY

public static final String PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY
PORTAL_SITE_REQUEST_CONTEXT_ATTR_KEY - request portal site context attribute key

See Also:
Constant Field Values

PROFILED_PAGE_CONTEXT_ATTR_KEY

public static final String PROFILED_PAGE_CONTEXT_ATTR_KEY
PROFILED_PAGE_CONTEXT_ATTR_KEY - legacy request portal site context attribute key

See Also:
Constant Field Values

profiler

private org.apache.jetspeed.profiler.Profiler profiler
profiler - profiler component


portalSite

private org.apache.jetspeed.portalsite.PortalSite portalSite
portalSite - portal site component


pageManager

private org.apache.jetspeed.page.PageManager pageManager
pageManager - page manager component

Constructor Detail

ProfilerValveImpl

public ProfilerValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
                         org.apache.jetspeed.portalsite.PortalSite portalSite,
                         org.apache.jetspeed.page.PageManager pageManager)
ProfilerValveImpl - constructor

Parameters:
profiler - profiler component reference
portalSite - portal site component reference
pageManager - page manager component reference
Method Detail

invoke

public void invoke(org.apache.jetspeed.request.RequestContext request,
                   ValveContext context)
            throws PipelineException
Specified by:
invoke in interface Valve
Specified by:
invoke in class AbstractValve
Throws:
PipelineException

toString

public String toString()


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