org.apache.cocoon.profiling.jmx
Class ProfilingManagement

java.lang.Object
  extended by 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.


Constructor Summary
ProfilingManagement()
           
 
Method Summary
 void disable()
           
 void enable()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingManagement

public ProfilingManagement()
Method Detail

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.