Skip Headers
Previous
Previous
 
Next
Next

Invoking Operations

Operations are mechanisms that cause the execution of code on the JMX server within the managed object. These operations are basically a Remote Method Invocation (RMI) and can take parameters and return a result. JRockit Mission Control supports the execution of these operations, along with passing parameters and displaying the results.

The Operations tab lists the operations associated with each MBean and allows you to invoke any of those operations. For each operation, the tab shows the operation name, its parameters, and its return value.

To invoke an operation

  1. Click the Operations tab in the MBean Features panel.

  2. Highlight the operation name you want to invoke.


    Note:

    To be able to invoke a value, the Operation name must have a parameter that can be edited; that is, there is a value within the parentheses in the Parameters column.

  3. Click Invoke.

    Depending on the value of the parameter, different control windows open. In this example, a parameter with a string value is shown (Figure: Operations with String Parameter Value).

    Operations with String Parameter Value

    Description of this figure follows
    Description of "Operations with String Parameter Value"

  4. Click Edit.

    The Enter value dialog box opens (Figure: Enter Value Dialog).

  5. Enter a value and click OK.

    The Enter Value dialog closes and the new value appears in the control window.

  6. Click OK.