org.apache.cocoon.profiling.jmx
Class ProfilingManagement
java.lang.Object
org.apache.cocoon.profiling.jmx.ProfilingManagement
@ManagedResource(objectName="org.apache.cocoon:group=Profiling,name=Enable/Disable")
public class ProfilingManagement
- extends Object
This MBean provides management functionality for cocoon-profiling and offers a possibility to
enable/disable cocoon profiling.
If you want to test this, simply run cocoon-sample and connect with jconsole.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfilingManagement
public ProfilingManagement()
isEnabled
@ManagedAttribute(description="Is profiling enabled.")
public boolean isEnabled()
enable
@ManagedOperation(description="Enable profiling.")
public void enable()
disable
@ManagedOperation(description="Disable profiling.")
public void disable()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.