Automation Engine Script Guide > AE JCL for JMX > JMX_INVOKE

JMX_INVOKE

Calls a method of an MBean.

Syntax

JMX_INVOKE MBEAN=..., OPERATIONNAME=..., PARAMS=... [, SIGNATURE=...]

Syntax

Description/Format

MBEAN=

The object name of the MBean.

OPERATIONNAME=

The name of the operation that should be executed.

PARAMS=

A parameter list.

Several parameters must be separated with commas.

SIGNATURE=

When the indicated MBean contains several methods of the name OPERATIONNAME= , the signature of the method to be executed must be assigned with this parameter.

Comments

This script element calls the function of an MBean and assigns parameters to it. If the MBean has more than one function, you can address a particular one with SIGNATURE=.

In the agent's INI-file parameter search_all=, the administrator can specify whether this function searches the MBean on all local MBean servers or only on those to which the agent is connected.

Example

JMX_INVOKE MBEAN=UC4:type=DatabaseExample, OPERATIONNAME=selectInvoice, PARAMS="1996-07-04,1996-07-10", SIGNATURE="java.lang.String,java.lang.String"

 

See also: