org.apache.cocoon.profiling.spring
Class AutomaticProfilerInstaller
java.lang.Object
org.apache.cocoon.profiling.spring.AutomaticProfilerInstaller
public class AutomaticProfilerInstaller
- extends Object
This class is used to install Profiler
to the correct InvocationDispatcher
. The
dependencies that all Profiler
share are also managed by this class.
This class is especially useful in combination with spring, which can be configured to inject all
Profiler
that are declared as Spring-Managed beans into this class. So additional
Profilers can be registered simply by defining them as Spring-bean.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutomaticProfilerInstaller
public AutomaticProfilerInstaller()
installProfilers
public void installProfilers()
- Install all profilers.
setProfilers(Map)
has to be called
first.
setPipelineComponentInvocationDispatcher
public void setPipelineComponentInvocationDispatcher(InvocationDispatcher pipelineComponentInvocationDispatcher)
setPipelineInvocationDispatcher
public void setPipelineInvocationDispatcher(InvocationDispatcher pipelineInvocationDispatcher)
setProfilers
public void setProfilers(Map<String,Profiler<?>> profilers)
setProfilingDataManager
public void setProfilingDataManager(ProfilingDataManager profilingDataManager)
setProfilingIdGenerator
public void setProfilingIdGenerator(ProfilingIdGenerator profilingIdGenerator)
setServletInvocationDispatcher
public void setServletInvocationDispatcher(InvocationDispatcher servletInvocationDispatcher)
setSitemapNodeInvocationDispatcher
public void setSitemapNodeInvocationDispatcher(InvocationDispatcher sitemapNodeInvocationDispatcher)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.