JBoss.org Community Documentation

3.2.3.5. The Operations

The management operations exposed by the XMBean are specified via one or more operation elements. The operation element and its content model are shown in Figure 3.10, “The XMBean operation element and its content model”.

The XMBean operation element and its content model

Figure 3.10. The XMBean operation element and its content model


The impact attribute defines the impact of executing the operation and must be one of:

  • ACTION : The operation changes the state of the MBean component (write operation)

  • INFO : The operation should not alter the state of the MBean component (read operation).

  • ACTION_INFO : The operation behaves like a read/write operation.

The child elements are:

  • description : This element specifies a human readable description of the operation.

  • name : This element contains the operation's name

  • parameter : This element describes the operation's signature.

  • return-type : This element contains a fully qualified class name of the return type from this operation. If not specified, it defaults to void.

  • descriptors : Any descriptors to associate with the operation metadata.