Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.